-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Build
-
None
-
Environment:203587 INFO: Including run-time hook 'pyi_rth_traitlets.py'
203590 INFO: Including run-time hook 'pyi_rth_mplconfig.py'
203592 INFO: Including run-time hook 'pyi_rth_mpldata.py'
203645 INFO: Looking for dynamic libraries
215598 INFO: Looking for eggs
215598 INFO: Python library not in binary dependencies. Doing additional searching...
215675 INFO: Using Python library /usr/lib/libpython3.7m.so.1.0
215736 INFO: Warnings written to /home/bt/PycharmProjects/ggs/build/gg/warn-gg.txt
215940 INFO: Graph cross-reference written to /home/bt/PycharmProjects/ggs/build/gg/xref-gg.html
216067 INFO: checking PYZ
216089 INFO: Building because toc changed
216089 INFO: Building PYZ (ZlibArchive) /home/bt/PycharmProjects/ggs/build/gg/PYZ-00.pyz
219134 INFO: Building PYZ (ZlibArchive) /home/bt/PycharmProjects/ggs/build/gg/PYZ-00.pyz completed successfully.
219197 INFO: checking PKG
219216 INFO: Building because toc changed
219216 INFO: Building PKG (CArchive) PKG-00.pkg
347536 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
347591 INFO: Bootloader /local/software/anaconda3/lib/python3.7/site-packages/PyInstaller/bootloader/Linux-64bit/run
347591 INFO: checking EXE
347645 INFO: Building because toc changed
347645 INFO: Building EXE from EXE-00.toc
347722 INFO: Appending archive to ELF section in EXE /local/dist/gg
350475 INFO: Building EXE from EXE-00.toc completed successfully.
/local/dist/gg
Traceback (most recent call last):
File "gg.py", line 8, in <module>
import pymongo
ModuleNotFoundError: No module named 'pymongo'
[3971] Failed to execute script gg
203587 INFO: Including run-time hook 'pyi_rth_traitlets.py' 203590 INFO: Including run-time hook 'pyi_rth_mplconfig.py' 203592 INFO: Including run-time hook 'pyi_rth_mpldata.py' 203645 INFO: Looking for dynamic libraries 215598 INFO: Looking for eggs 215598 INFO: Python library not in binary dependencies. Doing additional searching... 215675 INFO: Using Python library /usr/lib/libpython3.7m.so.1.0 215736 INFO: Warnings written to /home/bt/PycharmProjects/ggs/build/gg/warn-gg.txt 215940 INFO: Graph cross-reference written to /home/bt/PycharmProjects/ggs/build/gg/xref-gg.html 216067 INFO: checking PYZ 216089 INFO: Building because toc changed 216089 INFO: Building PYZ (ZlibArchive) /home/bt/PycharmProjects/ggs/build/gg/PYZ-00.pyz 219134 INFO: Building PYZ (ZlibArchive) /home/bt/PycharmProjects/ggs/build/gg/PYZ-00.pyz completed successfully. 219197 INFO: checking PKG 219216 INFO: Building because toc changed 219216 INFO: Building PKG (CArchive) PKG-00.pkg 347536 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully. 347591 INFO: Bootloader /local/software/anaconda3/lib/python3.7/site-packages/PyInstaller/bootloader/Linux-64bit/run 347591 INFO: checking EXE 347645 INFO: Building because toc changed 347645 INFO: Building EXE from EXE-00.toc 347722 INFO: Appending archive to ELF section in EXE /local/dist/gg 350475 INFO: Building EXE from EXE-00.toc completed successfully. /local/dist/gg Traceback (most recent call last): File "gg.py", line 8, in <module> import pymongo ModuleNotFoundError: No module named 'pymongo' [3971] Failed to execute script gg
pyinstaller --distpath /local/dist/ --hidden-import pymongo --onefile gg.py
24 INFO: PyInstaller: 3.4
24 INFO: Python: 3.7.2
26 INFO: Platform: Linux-4.15.0-50-generic-x86_64-with-debian-stretch-sid
26 INFO: wrote /home/bt/PycharmProjects/ggs/gg.spec
43 INFO: UPX is not available.
43 INFO: Extending PYTHONPATH with paths
['/home/bt/PycharmProjects/ggs', '/home/bt/PycharmProjects/ggs']
43 INFO: checking Analysis
82 INFO: Building because hiddenimports changed
82 INFO: Initializing module dependency graph...
100 INFO: Initializing module graph hooks...
103 INFO: Analyzing base_library.zip ...
2593 INFO: Analyzing hidden import 'pymongo'
2593 ERROR: Hidden import 'pymongo' not found
2593 INFO: running Analysis Analysis-00.toc
2604 INFO: Caching module hooks...
2607 INFO: Analyzing /home/bt/PycharmProjects/ggs/gg.py
2737 INFO: Processing pre-find module path hook distutils
3252 INFO: Processing pre-safe import module hook six.moves
7455 INFO: Processing pre-safe import module hook setuptools.extern.six.moves
8047 INFO: Processing pre-find module path hook site
8047 INFO: site: retargeting to fake-dir '/local/software/anaconda3/lib/python3.7/site-packages/PyInstaller/fake-modules'
14817 INFO: Processing pre-safe import module hook urllib3.packages.six.moves
44929 INFO: Loading module hooks...
44929 INFO: Loading module hook "hook-setuptools.py"...
45406 INFO: Loading module hook "hook-PIL.Image.py"...
45749 INFO: Loading module hook "hook-sphinx.py"...
49023 INFO: Loading module hook "hook-scipy.linalg.py"...
49032 INFO: Loading module hook "hook-lib2to3.py"...
49071 INFO: Loading module hook "hook-pandas.py"...
51730 INFO: Loading module hook "hook-xml.etree.cElementTree.py"...
51747 INFO: Loading module hook "hook-pygments.py"...
53050 INFO: Loading module hook "hook-openpyxl.py"...
53069 INFO: Loading module hook "hook-jsonschema.py"...
53077 INFO: Loading module hook "hook-numpy.core.py"...
53087 INFO: MKL libraries found when importing numpy. Adding MKL to binaries
53101 INFO: Loading module hook "hook-pytz.py"...
53135 INFO: Loading module hook "hook-PyQt5.QtGui.py"...
53858 INFO: Loading module hook "hook-scipy.special._ellip_harm_2.py"...
53877 INFO: Loading module hook "hook-babel.py"...
53953 INFO: Loading module hook "hook-tables.py"...
53954 INFO: Loading module hook "hook-PyQt5.QtSvg.py"...
54468 INFO: Loading module hook "hook-encodings.py"...
54516 INFO: Loading module hook "hook-lxml.etree.py"...
54517 INFO: Loading module hook "hook-zmq.py"...
55480 INFO: Loading module hook "hook-scipy.special._ufuncs.py"...
55481 INFO: Loading module hook "hook-jinja2.py"...
55494 INFO: Loading module hook "hook-certifi.py"...
55504 INFO: Loading module hook "hook-pydoc.py"...
55505 INFO: Loading module hook "hook-PyQt5.py"...
153960 INFO: Loading module hook "hook-cryptography.py"...
154619 INFO: Loading module hook "hook-pkg_resources.py"...
155123 INFO: Processing pre-safe import module hook win32com
155138 INFO: Loading module hook "hook-matplotlib.backends.py"...
155786 INFO: Matplotlib backend "GTK": ignored
Gtk* backend requires pygtk to be installed.
156430 INFO: Matplotlib backend "GTKAgg": ignored
Gtk* backend requires pygtk to be installed.
156591 INFO: Matplotlib backend "GTKCairo": ignored
No module named 'gtk'
156819 INFO: Matplotlib backend "GTK3Agg": ignored
The Gtk3 backend requires PyGObject or pgi
156961 INFO: Matplotlib backend "GTK3Cairo": ignored
cairo backend requires that cairocffi or pycairo is installed
157179 INFO: Matplotlib backend "MacOSX": ignored
cannot import name 'macosx' from 'matplotlib.backends' (/local/software/anaconda3/lib/python3.7/site-packages/matplotlib/backends/init_.py)
158611 INFO: Matplotlib backend "nbAgg": added
159605 INFO: Matplotlib backend "Qt4Agg": added
159766 INFO: Matplotlib backend "Qt4Cairo": ignored
cairo backend requires that cairocffi or pycairo is installed
160034 INFO: Matplotlib backend "Qt5Agg": added
160177 INFO: Matplotlib backend "Qt5Cairo": ignored
cairo backend requires that cairocffi or pycairo is installed
160558 INFO: Matplotlib backend "TkAgg": added
160707 INFO: Matplotlib backend "TkCairo": ignored
cairo backend requires that cairocffi or pycairo is installed
161129 INFO: Matplotlib backend "WebAgg": added
161358 INFO: Matplotlib backend "WX": ignored
Matplotlib backend_wx and backend_wxagg require wxPython>=2.9
161521 INFO: Matplotlib backend "WXAgg": ignored
No module named 'wx'
161661 INFO: Matplotlib backend "WXCairo": ignored
No module named 'wx'
161878 INFO: Matplotlib backend "agg": added
162019 INFO: Matplotlib backend "cairo": ignored
cairo backend requires that cairocffi or pycairo is installed
162159 INFO: Matplotlib backend "gdk": ignored
No module named 'gobject'
162401 INFO: Matplotlib backend "pdf": added
162831 INFO: Matplotlib backend "pgf": added
163062 INFO: Matplotlib backend "ps": added
163291 INFO: Matplotlib backend "svg": added
163532 INFO: Matplotlib backend "template": added
163872 INFO: Loading module hook "hook-PyQt5.QtCore.py"...
163939 INFO: Loading module hook "hook-sqlite3.py"...
163996 INFO: Loading module hook "hook-xml.dom.domreg.py"...
163996 INFO: Loading module hook "hook-pycparser.py"...
164251 INFO: Loading module hook "hook-matplotlib.py"...
164401 INFO: Loading module hook "hook-PIL.py"...
164425 INFO: Excluding import 'tkinter'
164435 INFO: Removing import of tkinter from module PIL.ImageTk
164437 INFO: Excluding import 'PySide'
164445 INFO: Removing import of PySide from module PIL.ImageQt
164446 INFO: Import to be excluded not found: 'FixTk'
164446 INFO: Excluding import 'PyQt4'
164452 INFO: Removing import of PyQt4 from module PIL.ImageQt
164453 INFO: Excluding import 'PyQt5'
164460 INFO: Removing import of PyQt5.QtCore from module PIL.ImageQt
164460 INFO: Removing import of PyQt5.QtGui from module PIL.ImageQt
164461 INFO: Loading module hook "hook-sqlalchemy.py"...
164752 INFO: Found 3 sqlalchemy hidden imports
164754 WARNING: Hidden import "MySQLdb" not found!
164757 WARNING: Hidden import "sqlalchemy.sql.functions.func" not found!
164791 INFO: Excluding import 'sqlalchemy.testing'
164796 INFO: Removing import of sqlalchemy.testing.util from module sqlalchemy.orm.util
164797 INFO: Removing import of sqlalchemy.testing.exclusions from module sqlalchemy.testing
164797 INFO: Removing import of sqlalchemy.testing.util from module sqlalchemy.testing
164797 INFO: Removing import of sqlalchemy.testing.engines from module sqlalchemy.testing
164797 INFO: Removing import of sqlalchemy.testing.warnings from module sqlalchemy.testing
164797 INFO: Removing import of sqlalchemy.testing.mock from module sqlalchemy.testing
164797 INFO: Removing import of sqlalchemy.testing.config from module sqlalchemy.testing
164797 INFO: Removing import of sqlalchemy.testing.assertsql from module sqlalchemy.testing
164797 INFO: Removing import of sqlalchemy.testing from module sqlalchemy.testing
164797 INFO: Removing import of sqlalchemy.testing.assertions from module sqlalchemy.testing
164797 INFO: Removing import of sqlalchemy.testing from module sqlalchemy.testing.warnings
164797 INFO: Removing import of sqlalchemy.testing.assertions from module sqlalchemy.testing.warnings
164797 INFO: Removing import of sqlalchemy.testing.exclusions from module sqlalchemy.testing.assertions
164797 INFO: Removing import of sqlalchemy.testing.util from module sqlalchemy.testing.assertions
164797 INFO: Removing import of sqlalchemy.testing.mock from module sqlalchemy.testing.assertions
164797 INFO: Removing import of sqlalchemy.testing.config from module sqlalchemy.testing.assertions
164797 INFO: Removing import of sqlalchemy.testing.assertsql from module sqlalchemy.testing.assertions
164797 INFO: Removing import of sqlalchemy.testing from module sqlalchemy.testing.assertions
164797 INFO: Removing import of sqlalchemy.testing.config from module sqlalchemy.testing.util
164797 INFO: Removing import of sqlalchemy.testing from module sqlalchemy.testing.util
164797 INFO: Removing import of sqlalchemy.testing.engines from module sqlalchemy.testing.util
164797 INFO: Removing import of sqlalchemy.testing from module sqlalchemy.testing.config
164798 INFO: Removing import of sqlalchemy.testing from module sqlalchemy.testing.engines
164798 INFO: Removing import of sqlalchemy.testing.config from module sqlalchemy.testing.engines
164798 INFO: Removing import of sqlalchemy.testing.util from module sqlalchemy.testing.engines
164798 INFO: Removing import of sqlalchemy.testing.assertions from module sqlalchemy.testing.engines
164799 INFO: Removing import of sqlalchemy.testing.config from module sqlalchemy.testing.exclusions
164799 INFO: Removing import of sqlalchemy.testing from module sqlalchemy.testing.exclusions
164799 INFO: Removing import of sqlalchemy.testing from module sqlalchemy.testing.assertsql
164799 INFO: Removing import of sqlalchemy.testing from module sqlalchemy.testing.mock
164799 INFO: Loading module hook "hook-PIL.SpiderImagePlugin.py"...
164803 INFO: Excluding import 'tkinter'
164806 INFO: Import to be excluded not found: 'FixTk'
164806 INFO: Loading module hook "hook-_tkinter.py"...
164932 INFO: checking Tree
164936 INFO: checking Tree
164938 INFO: Loading module hook "hook-scipy.sparse.csgraph.py"...
164958 INFO: Loading module hook "hook-pytest.py"...
165561 INFO: Loading module hook "hook-docutils.py"...
166265 INFO: Loading module hook "hook-IPython.py"...
166271 INFO: Excluding import 'PySide'
166276 INFO: Removing import of PySide from module IPython.external.qt_loaders
166276 INFO: Excluding import 'PyQt4'
166280 INFO: Removing import of PyQt4 from module IPython.external.qt_loaders
166280 INFO: Excluding import 'PyQt5'
166284 INFO: Removing import of PyQt5.QtGui from module IPython.external.qt_loaders
166284 INFO: Removing import of PyQt5.QtCore from module IPython.external.qt_loaders
166284 INFO: Removing import of PyQt5.QtSvg from module IPython.external.qt_loaders
166284 INFO: Removing import of PyQt5 from module IPython.external.qt_loaders
166284 INFO: Removing import of PyQt5.QtWidgets from module IPython.external.qt_loaders
166285 INFO: Excluding import 'gtk'
166289 INFO: Excluding import 'matplotlib'
166293 INFO: Removing import of matplotlib.pyplot from module IPython.core.pylabtools
166293 INFO: Removing import of matplotlib.figure from module IPython.core.pylabtools
166293 INFO: Removing import of matplotlib from module IPython.core.pylabtools
166293 INFO: Removing import of matplotlib._pylab_helpers from module IPython.core.pylabtools
166294 INFO: Loading module hook "hook-sysconfig.py"...
166325 INFO: Loading module hook "hook-xml.py"...
166326 INFO: Loading module hook "hook-distutils.py"...
166344 INFO: Loading module hook "hook-numpy.py"...
166354 INFO: Loading module hook "hook-scipy.py"...
166355 INFO: Loading module hook "hook-PyQt5.QtWidgets.py"...
166483 INFO: Loading module hook "hook-jedi.py"...
166486 INFO: Loading module hook "hook-gevent.py"...
166701 INFO: Determining a mapping of distributions to packages...
202255 WARNING: Unable to find package for requirement greenlet from package gevent.
202256 INFO: Packages required by gevent:
[]
202630 INFO: Looking for ctypes DLLs
202732 WARNING: library user32 required via ctypes not found
203513 INFO: Analyzing run-time hooks ...
203545 INFO: Including run-time hook 'pyi_rth_qt5.py'
203564 INFO: Including run-time hook 'pyi_rth_multiprocessing.py'
203580 INFO: Including run-time hook 'pyi_rth_pkgres.py'
203583 INFO: Including run-time hook 'pyi_rth__tkinter.py'
203587 INFO: Including run-time hook 'pyi_rth_traitlets.py'
203590 INFO: Including run-time hook 'pyi_rth_mplconfig.py'
203592 INFO: Including run-time hook 'pyi_rth_mpldata.py'
203645 INFO: Looking for dynamic libraries
215598 INFO: Looking for eggs
215598 INFO: Python library not in binary dependencies. Doing additional searching...
215675 INFO: Using Python library /usr/lib/libpython3.7m.so.1.0
215736 INFO: Warnings written to /home/bt/PycharmProjects/ggs/build/gg/warn-gg.txt
215940 INFO: Graph cross-reference written to /home/bt/PycharmProjects/ggs/build/gg/xref-gg.html
216067 INFO: checking PYZ
216089 INFO: Building because toc changed
216089 INFO: Building PYZ (ZlibArchive) /home/bt/PycharmProjects/ggs/build/gg/PYZ-00.pyz
219134 INFO: Building PYZ (ZlibArchive) /home/bt/PycharmProjects/ggs/build/gg/PYZ-00.pyz completed successfully.
219197 INFO: checking PKG
219216 INFO: Building because toc changed
219216 INFO: Building PKG (CArchive) PKG-00.pkg
347536 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
347591 INFO: Bootloader /local/software/anaconda3/lib/python3.7/site-packages/PyInstaller/bootloader/Linux-64bit/run
347591 INFO: checking EXE
347645 INFO: Building because toc changed
347645 INFO: Building EXE from EXE-00.toc
347722 INFO: Appending archive to ELF section in EXE /local/dist/gg
350475 INFO: Building EXE from EXE-00.toc completed successfully.