pyinstaller problem..

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pyinstaller problem..

Huichan Kim
.exe file isn't work

I upgraded pyinstaller to developer version(latest) but didn't work (fail to execute script)

please help me


C:\Users\LOVE\Desktop\GUI_programming>pyinstaller -w -F Main_Widget_test.py
445 INFO: PyInstaller: 3.5.dev0+0d289e49b
445 INFO: Python: 3.7.0
445 INFO: Platform: Windows-10-10.0.17763-SP0
451 INFO: wrote C:\Users\LOVE\Desktop\GUI_programming\Main_Widget_test.spec
453 INFO: UPX is not available.
455 INFO: Extending PYTHONPATH with paths
['C:\\Users\\LOVE\\Desktop\\GUI_programming',
 'C:\\Users\\LOVE\\Desktop\\GUI_programming']
455 INFO: checking Analysis
455 INFO: Building Analysis because Analysis-00.toc is non existent
456 INFO: Initializing module dependency graph...
460 INFO: Initializing module graph hooks...
466 INFO: Analyzing base_library.zip ...
6589 INFO: running Analysis Analysis-00.toc
6615 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
  required by c:\programdata\anaconda3\python.exe
7397 INFO: Caching module hooks...
7402 INFO: Analyzing C:\Users\LOVE\Desktop\GUI_programming\Main_Widget_test.py
7868 INFO: Processing pre-find module path hook   distutils
10387 INFO: Processing pre-find module path hook   site
10393 INFO: site: retargeting to fake-dir 'c:\\programdata\\anaconda3\\lib\\site-packages\\PyInstaller\\fake-modules'
13423 INFO: Processing pre-safe import module hook   setuptools.extern.six.moves
19790 INFO: Processing pre-safe import module hook   six.moves
39625 INFO: Processing pre-safe import module hook   urllib3.packages.six.moves
61031 INFO: Processing pre-safe import module hook   win32com
107382 INFO: Loading module hooks...
107384 INFO: Loading module hook "hook-babel.py"...
107624 INFO: Loading module hook "hook-certifi.py"...
107639 INFO: Loading module hook "hook-Crypto.py"...
Traceback (most recent call last):
  File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'Crypto.Math'
107781 INFO: Loading module hook "hook-cryptography.py"...
109104 INFO: Loading module hook "hook-cv2.py"...
109115 INFO: Loading module hook "hook-distutils.py"...
109131 INFO: Loading module hook "hook-docutils.py"...
114676 INFO: Loading module hook "hook-encodings.py"...
114817 INFO: Loading module hook "hook-IPython.py"...
114850 INFO: Excluding import 'gtk'
114870 INFO: Excluding import 'PyQt5'
114888 INFO:   Removing import of PyQt5 from module IPython.external.qt_loaders
114889 INFO:   Removing import of PyQt5.QtSvg from module IPython.external.qt_loaders
114890 INFO:   Removing import of PyQt5.QtWidgets from module IPython.external.qt_loaders
114893 INFO:   Removing import of PyQt5.QtCore from module IPython.external.qt_loaders
114894 INFO:   Removing import of PyQt5.QtGui from module IPython.external.qt_loaders
114896 INFO: Excluding import 'PyQt4'
114914 INFO:   Removing import of PyQt4 from module IPython.external.qt_loaders
114919 INFO: Excluding import 'tkinter'
114934 INFO:   Removing import of tkinter from module IPython.lib.clipboard
114939 INFO: Excluding import 'matplotlib'
114961 INFO:   Removing import of matplotlib._pylab_helpers from module IPython.core.pylabtools
114963 INFO:   Removing import of matplotlib.pyplot from module IPython.core.pylabtools
114965 INFO:   Removing import of matplotlib.figure from module IPython.core.pylabtools
114968 INFO:   Removing import of matplotlib from module IPython.core.pylabtools
114972 INFO: Excluding import 'PySide'
114989 INFO:   Removing import of PySide from module IPython.external.qt_loaders
114993 INFO: Loading module hook "hook-jedi.py"...
115011 INFO: Loading module hook "hook-jinja2.py"...
115173 INFO: Loading module hook "hook-jsonschema.py"...
115191 INFO: Loading module hook "hook-lib2to3.py"...
115211 INFO: Loading module hook "hook-lxml.etree.py"...
115224 INFO: Loading module hook "hook-matplotlib.backends.py"...
116949 INFO:   Matplotlib backend "GTK3Agg": ignored
    cairo backend requires that cairocffi or pycairo is installed
117964 INFO:   Matplotlib backend "GTK3Cairo": ignored
    cairo backend requires that cairocffi or pycairo is installed
119384 INFO:   Matplotlib backend "MacOSX": ignored
    cannot import name '_macosx' from 'matplotlib.backends' (c:\programdata\anaconda3\lib\site-packages\matplotlib\backends\__init__.py)
128213 INFO:   Matplotlib backend "nbAgg": added
129514 INFO:   Matplotlib backend "Qt4Agg": added
130329 INFO:   Matplotlib backend "Qt4Cairo": ignored
    cairo backend requires that cairocffi or pycairo is installed
131994 INFO:   Matplotlib backend "Qt5Agg": added
132891 INFO:   Matplotlib backend "Qt5Cairo": ignored
    cairo backend requires that cairocffi or pycairo is installed
134403 INFO:   Matplotlib backend "TkAgg": added
135699 INFO:   Matplotlib backend "TkCairo": ignored
    cairo backend requires that cairocffi or pycairo is installed
137317 INFO:   Matplotlib backend "WebAgg": added
138564 INFO:   Matplotlib backend "WX": ignored
    No module named 'wx'
139354 INFO:   Matplotlib backend "WXAgg": ignored
    No module named 'wx'
140281 INFO:   Matplotlib backend "WXCairo": ignored
    No module named 'wx'
140999 INFO:   Matplotlib backend "agg": added
141676 INFO:   Matplotlib backend "cairo": ignored
    cairo backend requires that cairocffi or pycairo is installed
142655 INFO:   Matplotlib backend "pdf": added
143386 INFO:   Matplotlib backend "pgf": added
143811 INFO:   Matplotlib backend "ps": added
144210 INFO:   Matplotlib backend "svg": added
144902 INFO:   Matplotlib backend "template": added
145365 INFO: Loading module hook "hook-matplotlib.py"...
145749 INFO: Loading module hook "hook-numpy.core.py"...
145935 INFO: MKL libraries found when importing numpy. Adding MKL to binaries
145944 INFO: Loading module hook "hook-numpy.py"...
145952 INFO: Loading module hook "hook-openpyxl.py"...
145973 INFO: Loading module hook "hook-pandas.py"...
147017 INFO: Loading module hook "hook-PIL.Image.py"...
147925 INFO: Loading module hook "hook-PIL.py"...
147937 INFO: Import to be excluded not found: 'FixTk'
147938 INFO: Excluding import 'PyQt5'
147946 INFO:   Removing import of PyQt5.QtGui from module PIL.ImageQt
147946 INFO:   Removing import of PyQt5.QtCore from module PIL.ImageQt
147948 INFO: Excluding import 'tkinter'
147956 INFO:   Removing import of tkinter from module PIL.ImageTk
147956 INFO: Excluding import 'PyQt4'
147965 INFO:   Removing import of PyQt4 from module PIL.ImageQt
147966 INFO: Excluding import 'PySide'
147975 INFO:   Removing import of PySide from module PIL.ImageQt
147976 INFO: Loading module hook "hook-PIL.SpiderImagePlugin.py"...
147989 INFO: Import to be excluded not found: 'FixTk'
147990 INFO: Excluding import 'tkinter'
147996 INFO: Loading module hook "hook-pkg_resources.py"...
149442 INFO: Loading module hook "hook-pycparser.py"...
149897 INFO: Loading module hook "hook-pydoc.py"...
149906 INFO: Loading module hook "hook-pygments.py"...
152953 INFO: Loading module hook "hook-PyQt5.py"...
153424 WARNING: Hidden import "PyQt5.sip" not found!
153425 INFO: Loading module hook "hook-PyQt5.QtCore.py"...
153515 INFO: Loading module hook "hook-PyQt5.QtGui.py"...
153756 INFO: Loading module hook "hook-PyQt5.QtSvg.py"...
154249 INFO: Loading module hook "hook-PyQt5.QtWidgets.py"...
154540 INFO: Loading module hook "hook-pytest.py"...
156010 INFO: Loading module hook "hook-pythoncom.py"...
156659 INFO: Loading module hook "hook-pytz.py"...
156739 INFO: Loading module hook "hook-pywintypes.py"...
157338 INFO: Loading module hook "hook-scipy.linalg.py"...
157346 INFO: Loading module hook "hook-scipy.py"...
157353 INFO: Loading module hook "hook-scipy.sparse.csgraph.py"...
157368 INFO: Loading module hook "hook-scipy.special._ellip_harm_2.py"...
157374 INFO: Loading module hook "hook-scipy.special._ufuncs.py"...
157382 INFO: Loading module hook "hook-setuptools.py"...
158434 INFO: Loading module hook "hook-sphinx.py"...
163990 INFO: Loading module hook "hook-sqlalchemy.py"...
164594 INFO:   Found 6 sqlalchemy hidden imports
164595 WARNING: Hidden import "MySQLdb" not found!
164639 WARNING: Hidden import "sqlalchemy.sql.functions.func" not found!
164639 WARNING: Hidden import "sqlalchemy.orm.state", "sqlalchemy.orm.strategies" not found!
164647 INFO: Excluding import 'sqlalchemy.testing'
164655 INFO:   Removing import of sqlalchemy.testing.util from module sqlalchemy.orm.util
164656 INFO:   Removing import of sqlalchemy.testing.mock from module sqlalchemy.testing
164656 INFO:   Removing import of sqlalchemy.testing.exclusions from module sqlalchemy.testing
164660 INFO:   Removing import of sqlalchemy.testing.warnings from module sqlalchemy.testing
164661 INFO:   Removing import of sqlalchemy.testing from module sqlalchemy.testing
164663 INFO:   Removing import of sqlalchemy.testing.engines from module sqlalchemy.testing
164664 INFO:   Removing import of sqlalchemy.testing.assertsql from module sqlalchemy.testing
164664 INFO:   Removing import of sqlalchemy.testing.util from module sqlalchemy.testing
164665 INFO:   Removing import of sqlalchemy.testing.config from module sqlalchemy.testing
164666 INFO:   Removing import of sqlalchemy.testing.assertions from module sqlalchemy.testing
164667 INFO:   Removing import of sqlalchemy.testing.assertions from module sqlalchemy.testing.warnings
164667 INFO:   Removing import of sqlalchemy.testing from module sqlalchemy.testing.warnings
164668 INFO:   Removing import of sqlalchemy.testing.mock from module sqlalchemy.testing.assertions
164669 INFO:   Removing import of sqlalchemy.testing.exclusions from module sqlalchemy.testing.assertions
164671 INFO:   Removing import of sqlalchemy.testing.assertsql from module sqlalchemy.testing.assertions
164672 INFO:   Removing import of sqlalchemy.testing from module sqlalchemy.testing.assertions
164673 INFO:   Removing import of sqlalchemy.testing.util from module sqlalchemy.testing.assertions
164674 INFO:   Removing import of sqlalchemy.testing.config from module sqlalchemy.testing.assertions
164676 INFO:   Removing import of sqlalchemy.testing.config from module sqlalchemy.testing.util
164677 INFO:   Removing import of sqlalchemy.testing from module sqlalchemy.testing.util
164678 INFO:   Removing import of sqlalchemy.testing.engines from module sqlalchemy.testing.util
164680 INFO:   Removing import of sqlalchemy.testing from module sqlalchemy.testing.config
164681 INFO:   Removing import of sqlalchemy.testing.util from module sqlalchemy.testing.engines
164682 INFO:   Removing import of sqlalchemy.testing.config from module sqlalchemy.testing.engines
164683 INFO:   Removing import of sqlalchemy.testing.assertions from module sqlalchemy.testing.engines
164684 INFO:   Removing import of sqlalchemy.testing from module sqlalchemy.testing.engines
164686 INFO:   Removing import of sqlalchemy.testing.config from module sqlalchemy.testing.exclusions
164687 INFO:   Removing import of sqlalchemy.testing from module sqlalchemy.testing.exclusions
164688 INFO:   Removing import of sqlalchemy.testing from module sqlalchemy.testing.assertsql
164689 INFO:   Removing import of sqlalchemy.testing from module sqlalchemy.testing.mock
164693 INFO: Loading module hook "hook-sqlite3.py"...
164810 INFO: Loading module hook "hook-sysconfig.py"...
164816 INFO: Loading module hook "hook-tables.py"...
164822 INFO: Loading module hook "hook-win32com.py"...
165014 INFO: Loading module hook "hook-xml.dom.domreg.py"...
165020 INFO: Loading module hook "hook-xml.etree.cElementTree.py"...
165027 INFO: Loading module hook "hook-xml.py"...
165033 INFO: Loading module hook "hook-zmq.py"...
167545 INFO: Loading module hook "hook-_tkinter.py"...
167743 INFO: checking Tree
167743 INFO: Building Tree because Tree-00.toc is non existent
167744 INFO: Building Tree Tree-00.toc
167817 INFO: checking Tree
167818 INFO: Building Tree because Tree-01.toc is non existent
167819 INFO: Building Tree Tree-01.toc
167858 INFO: Loading module hook "hook-gevent.py"...
168146 INFO: Determining a mapping of distributions to packages...
242262 WARNING: Unable to find package for requirement greenlet from package gevent.
242262 INFO: Packages required by gevent:
['cffi']
242901 INFO: Looking for ctypes DLLs
243023 INFO: Analyzing run-time hooks ...
243050 INFO: Including run-time hook 'pyi_rth_pkgres.py'
243058 INFO: Including run-time hook 'pyi_rth_win32comgenpy.py'
243066 INFO: Including run-time hook 'pyi_rth_multiprocessing.py'
243077 INFO: Including run-time hook 'pyi_rth_traitlets.py'
243084 INFO: Including run-time hook 'pyi_rth__tkinter.py'
243092 INFO: Including run-time hook 'pyi_rth_mplconfig.py'
243099 INFO: Including run-time hook 'pyi_rth_mpldata.py'
243106 INFO: Including run-time hook 'pyi_rth_qt5.py'
243176 INFO: Looking for dynamic libraries
245111 WARNING: lib not found: mpich2mpi.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_blacs_mpich2_ilp64.dll
246667 WARNING: lib not found: pgf90.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_pgi_thread.dll
246697 WARNING: lib not found: pgf90rtl.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_pgi_thread.dll
246726 WARNING: lib not found: pgc14.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_pgi_thread.dll
248316 WARNING: lib not found: tbb.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_tbb_thread.dll
248969 WARNING: lib not found: impi.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_blacs_intelmpi_ilp64.dll
249004 WARNING: lib not found: msmpi.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_blacs_msmpi_lp64.dll
249412 WARNING: lib not found: mpich2mpi.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_blacs_mpich2_lp64.dll
250694 WARNING: lib not found: msmpi.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_blacs_msmpi_ilp64.dll
250845 WARNING: lib not found: impi.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_blacs_intelmpi_lp64.dll
252431 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\linalg\_fblas.cp37-win_amd64.pyd
252467 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\linalg\_flapack.cp37-win_amd64.pyd
252501 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\linalg\_flinalg.cp37-win_amd64.pyd
252537 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\special\_ellip_harm_2.cp37-win_amd64.pyd
252589 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\special\_ufuncs.cp37-win_amd64.pyd
252636 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\arpack\_arpack.cp37-win_amd64.pyd
252671 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\sparse\linalg\dsolve\_superlu.cp37-win_amd64.pyd
252707 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\sparse\linalg\isolve\_iterative.cp37-win_amd64.pyd
252742 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\linalg\cython_lapack.cp37-win_amd64.pyd
252778 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\linalg\cython_blas.cp37-win_amd64.pyd
252824 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\integrate\lsoda.cp37-win_amd64.pyd
252873 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\integrate\vode.cp37-win_amd64.pyd
252912 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\integrate\_quadpack.cp37-win_amd64.pyd
252952 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\integrate\_odepack.cp37-win_amd64.pyd
253020 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\optimize\_trlib\_trlib.cp37-win_amd64.pyd
253072 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\optimize\_lbfgsb.cp37-win_amd64.pyd
253564 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\spatial\qhull.cp37-win_amd64.pyd
253613 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\scipy\interpolate\_ppoly.cp37-win_amd64.pyd
254024 WARNING: lib not found: mkl_rt.dll dependency of c:\programdata\anaconda3\lib\site-packages\numexpr\interpreter.cp37-win_amd64.pyd
254452 WARNING: lib not found: api-ms-win-downlevel-shlwapi-l1-1-0.dll dependency of c:\programdata\anaconda3\lib\site-packages\cv2\cv2.cp37-win_amd64.pyd
264219 INFO: Looking for eggs
264219 INFO: Using Python library c:\programdata\anaconda3\python37.dll
264221 INFO: Found binding redirects:
[]
264269 INFO: Warnings written to C:\Users\LOVE\Desktop\GUI_programming\build\Main_Widget_test\warn-Main_Widget_test.txt
264845 INFO: Graph cross-reference written to C:\Users\LOVE\Desktop\GUI_programming\build\Main_Widget_test\xref-Main_Widget_test.html
265162 INFO: checking PYZ
265162 INFO: Building PYZ because PYZ-00.toc is non existent
265164 INFO: Building PYZ (ZlibArchive) C:\Users\LOVE\Desktop\GUI_programming\build\Main_Widget_test\PYZ-00.pyz
271747 INFO: Building PYZ (ZlibArchive) C:\Users\LOVE\Desktop\GUI_programming\build\Main_Widget_test\PYZ-00.pyz completed successfully.
271877 INFO: checking PKG
271877 INFO: Building PKG because PKG-00.toc is non existent
271879 INFO: Building PKG (CArchive) PKG-00.pkg
277003 WARNING: One binary added with two internal names.
277003 WARNING: ('icuuc58.dll',
 'C:\\ProgramData\\Anaconda3\\Library\\bin\\icuuc58.dll',
 'BINARY')
277006 WARNING: was placed previously at
277006 WARNING: ('PyQt5\\Qt\\bin\\icuuc58.dll',
 'C:\\ProgramData\\Anaconda3\\Library\\bin\\icuuc58.dll',
 'BINARY')
277071 WARNING: One binary added with two internal names.
277072 WARNING: ('icudt58.dll',
 'C:\\ProgramData\\Anaconda3\\Library\\bin\\icudt58.dll',
 'BINARY')
277074 WARNING: was placed previously at
277075 WARNING: ('PyQt5\\Qt\\bin\\icudt58.dll',
 'C:\\ProgramData\\Anaconda3\\Library\\bin\\icudt58.dll',
 'BINARY')
277558 WARNING: One binary added with two internal names.
277558 WARNING: ('icuin58.dll',
 'C:\\ProgramData\\Anaconda3\\Library\\bin\\icuin58.dll',
 'BINARY')
277561 WARNING: was placed previously at
277562 WARNING: ('PyQt5\\Qt\\bin\\icuin58.dll',
 'C:\\ProgramData\\Anaconda3\\Library\\bin\\icuin58.dll',
 'BINARY')
433880 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
434054 INFO: Bootloader c:\programdata\anaconda3\lib\site-packages\PyInstaller\bootloader\Windows-64bit\runw.exe
434055 INFO: checking EXE
434057 INFO: Building EXE because EXE-00.toc is non existent
434058 INFO: Building EXE from EXE-00.toc
434059 INFO: Appending archive to EXE C:\Users\LOVE\Desktop\GUI_programming\dist\Main_Widget_test.exe
435581 INFO: Building EXE from EXE-00.toc completed successfully.

--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.