python скрипт скомпилирован с pyinstaller и ничего не делать - PullRequest
0 голосов
/ 14 апреля 2020

После компиляции моего проекта с помощью двойного щелчка pyinstaller по exe-файлу указатель мыши изменится во время работы скрипта, но больше ничего не будет, ни сообщения об ошибке, ни исполняемого exe-файла, ничего. У меня python 3.7.6, и я использовал auto-py-to-exe Это вывод моего скрипта после pyinstaller.

Running auto-py-to-exe v2.6.5
Building in the current instances temporary directory at C:\Users\AG\AppData\Local\Temp\tmp37rik0v3
To get a new temporary directory, restart this application
Recursion Limit is set to 5000
Executing: pyinstaller -y -w -i "D:/Python/My projects/IDEPA_indicators_python/ice_ico.ico" --add-data "D:/Python/My projects/IDEPA_indicators_python/Data";"Data/"  "D:/Python/My projects/IDEPA_indicators_python/idepa.pyw"
693072 INFO: PyInstaller: 3.6
693073 INFO: Python: 3.7.6 (conda)
693073 INFO: Platform: Windows-10-10.0.17134-SP0
693077 INFO: wrote C:\Users\AG\AppData\Local\Temp\tmp37rik0v3\idepa.spec
693093 INFO: UPX is not available.
693097 INFO: Extending PYTHONPATH with paths
['D:\\Python\\My projects\\IDEPA_indicators_python',
 'C:\\Users\\AG\\AppData\\Local\\Temp\\tmp37rik0v3']
693098 INFO: checking Analysis
693099 INFO: Building Analysis because Analysis-01.toc is non existent
693101 INFO: Reusing cached module dependency graph...
693414 INFO: Caching module graph hooks...
693938 INFO: running Analysis Analysis-01.toc
693943 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
  required by C:\Anaconda\python.exe
695037 INFO: Analyzing D:\Python\My projects\IDEPA_indicators_python\idepa.pyw
704768 INFO: Processing pre-find module path hook   distutils
704770 INFO: distutils: retargeting to non-venv dir 'C:\\Anaconda\\lib'
712806 INFO: Processing pre-safe import module hook   setuptools.extern.six.moves
715020 INFO: Processing pre-find module path hook   site
715022 INFO: site: retargeting to fake-dir 'C:\\Anaconda\\lib\\site-packages\\PyInstaller\\fake-modules'
744141 INFO: Processing pre-safe import module hook   six.moves
765685 INFO: Processing pre-safe import module hook   urllib3.packages.six.moves
871388 INFO: Processing module hooks...
871389 INFO: Loading module hook "hook-babel.py"...
871686 INFO: Loading module hook "hook-bcrypt.py"...
871690 INFO: Loading module hook "hook-certifi.py"...
871693 INFO: Loading module hook "hook-cryptography.py"...
872341 INFO: Loading module hook "hook-distutils.py"...
872343 INFO: Loading module hook "hook-docutils.py"...
877720 INFO: Loading module hook "hook-encodings.py"...
877960 INFO: Loading module hook "hook-gevent.py"...
878434 WARNING: Unable to find package for requirement greenlet from package gevent.
878434 INFO: Packages required by gevent:
['cffi']
883182 INFO: Loading module hook "hook-importlib_metadata.py"...
883188 INFO: Loading module hook "hook-IPython.py"...
883246 INFO: Excluding import 'tkinter'
883262 INFO:   Removing import of tkinter from module IPython.lib.clipboard
883268 INFO: Excluding import 'PyQt5'
883307 INFO:   Removing import of PyQt5.QtWidgets from module IPython.external.qt_loaders
883308 INFO:   Removing import of PyQt5 from module IPython.external.qt_loaders
883309 INFO:   Removing import of PyQt5.QtCore from module IPython.external.qt_loaders
883312 INFO:   Removing import of PyQt5.QtSvg from module IPython.external.qt_loaders
883313 INFO:   Removing import of PyQt5.QtGui from module IPython.external.qt_loaders
883317 INFO: Excluding import 'matplotlib'
883352 INFO:   Removing import of matplotlib._pylab_helpers from module IPython.core.pylabtools
883354 INFO:   Removing import of matplotlib from module IPython.core.pylabtools
883355 INFO:   Removing import of matplotlib.backend_bases from module IPython.core.pylabtools
883355 INFO:   Removing import of matplotlib.figure from module IPython.core.pylabtools
883356 INFO:   Removing import of matplotlib.pyplot from module IPython.core.pylabtools
883360 INFO: Excluding import 'PySide'
883377 INFO:   Removing import of PySide from module IPython.external.qt_loaders
883378 INFO: Excluding import 'gtk'
883427 INFO: Excluding import 'PyQt4'
883454 INFO:   Removing import of PyQt4 from module IPython.external.qt_loaders
883458 INFO: Loading module hook "hook-jedi.py"...
883887 INFO: Loading module hook "hook-jinja2.py"...
883937 INFO: Loading module hook "hook-jsonschema.py"...
883948 INFO: Loading module hook "hook-lib2to3.py"...
883962 INFO: Loading module hook "hook-lxml.etree.py"...
883969 INFO: Loading module hook "hook-matplotlib.backends.py"...
885539 INFO:   Matplotlib backend "GTK3Agg": ignored
    cairo backend requires that pycairo>=1.11.0 or cairocffiis installed
886353 INFO:   Matplotlib backend "GTK3Cairo": ignored
    cairo backend requires that pycairo>=1.11.0 or cairocffiis installed
887381 INFO:   Matplotlib backend "MacOSX": ignored
    cannot import name '_macosx' from 'matplotlib.backends' (C:\Anaconda\lib\site-packages\matplotlib\backends\__init__.py)
889487 INFO:   Matplotlib backend "nbAgg": added
890905 INFO:   Matplotlib backend "Qt4Agg": added
891750 INFO:   Matplotlib backend "Qt4Cairo": ignored
    cairo backend requires that pycairo>=1.11.0 or cairocffiis installed
893046 INFO:   Matplotlib backend "Qt5Agg": added
893834 INFO:   Matplotlib backend "Qt5Cairo": ignored
    cairo backend requires that pycairo>=1.11.0 or cairocffiis installed
894904 INFO:   Matplotlib backend "TkAgg": added
895921 INFO:   Matplotlib backend "TkCairo": ignored
    cairo backend requires that pycairo>=1.11.0 or cairocffiis installed
896924 INFO:   Matplotlib backend "WebAgg": added
897885 INFO:   Matplotlib backend "WX": ignored
    No module named 'wx'
898652 INFO:   Matplotlib backend "WXAgg": ignored
    No module named 'wx'
899429 INFO:   Matplotlib backend "WXCairo": ignored
    No module named 'wx'
900205 INFO:   Matplotlib backend "agg": added
900980 INFO:   Matplotlib backend "cairo": ignored
    cairo backend requires that pycairo>=1.11.0 or cairocffiis installed
902020 INFO:   Matplotlib backend "pdf": added
903059 INFO:   Matplotlib backend "pgf": added
903893 INFO:   Matplotlib backend "ps": added
904721 INFO:   Matplotlib backend "svg": added
905776 INFO:   Matplotlib backend "template": added
906999 INFO: Loading module hook "hook-matplotlib.py"...
907717 INFO: Loading module hook "hook-nacl.py"...
907725 INFO: Loading module hook "hook-nbconvert.py"...
907787 INFO: Loading module hook "hook-nbformat.py"...
907811 INFO: Loading module hook "hook-notebook.py"...
911289 INFO: Loading module hook "hook-numpy.core.py"...
911294 INFO: MKL libraries found when importing numpy. Adding MKL to binaries
911305 INFO: Loading module hook "hook-numpy.py"...
911307 INFO: Loading module hook "hook-openpyxl.py"...
911346 INFO: Loading module hook "hook-pandas.py"...
912789 INFO: Loading module hook "hook-PIL.Image.py"...
914030 INFO: Loading module hook "hook-PIL.py"...
914039 INFO: Excluding import 'tkinter'
914061 INFO:   Removing import of tkinter from module PIL.ImageTk
914064 INFO: Import to be excluded not found: 'FixTk'
914064 INFO: Excluding import 'PyQt5'
914082 INFO:   Removing import of PyQt5.QtGui from module PIL.ImageQt
914083 INFO:   Removing import of PyQt5.QtCore from module PIL.ImageQt
914085 INFO: Excluding import 'PySide'
914105 INFO: Excluding import 'PyQt4'
914124 INFO: Loading module hook "hook-PIL.SpiderImagePlugin.py"...
914136 INFO: Import to be excluded not found: 'FixTk'
914138 INFO: Excluding import 'tkinter'
914150 INFO: Loading module hook "hook-pkg_resources.py"...
915974 INFO: Processing pre-safe import module hook   win32com
916606 INFO: Excluding import '__main__'
916625 INFO:   Removing import of __main__ from module pkg_resources
916626 INFO: Loading module hook "hook-pycparser.py"...
916628 INFO: Loading module hook "hook-pygments.py"...
920441 INFO: Loading module hook "hook-PyQt5.py"...
921332 WARNING: Hidden import "PyQt5.sip" not found!
921332 INFO: Loading module hook "hook-PyQt5.QtCore.py"...
921553 INFO: Loading module hook "hook-PyQt5.QtGui.py"...
922001 INFO: Loading module hook "hook-PyQt5.QtSvg.py"...
922747 INFO: Loading module hook "hook-PyQt5.QtWidgets.py"...
923136 INFO: Loading module hook "hook-pytest.py"...
925333 INFO: Loading module hook "hook-pythoncom.py"...
926605 INFO: Loading module hook "hook-pytz.py"...
926799 INFO: Loading module hook "hook-pywintypes.py"...
927979 INFO: Loading module hook "hook-scipy.linalg.py"...
927982 INFO: Loading module hook "hook-scipy.py"...
927988 INFO: Loading module hook "hook-scipy.sparse.csgraph.py"...
927996 INFO: Loading module hook "hook-scipy.special._ellip_harm_2.py"...
927998 INFO: Loading module hook "hook-scipy.special._ufuncs.py"...
928001 INFO: Loading module hook "hook-setuptools.py"...
929925 INFO: Loading module hook "hook-sphinx.py"...
941524 INFO: Loading module hook "hook-sqlalchemy.py"...
942042 INFO:   Found 4 sqlalchemy hidden imports
942044 WARNING: Hidden import "MySQLdb" not found!
947264 WARNING: Hidden import "sqlalchemy.sql.functions.func" not found!
947306 INFO: Import to be excluded not found: 'sqlalchemy.testing'
947307 INFO: Loading module hook "hook-sqlite3.py"...
947538 INFO: Loading module hook "hook-sysconfig.py"...
947544 INFO: Loading module hook "hook-tables.py"...
947547 INFO: Loading module hook "hook-win32com.py"...
947871 INFO: Loading module hook "hook-xml.dom.domreg.py"...
947875 INFO: Loading module hook "hook-xml.etree.cElementTree.py"...
947877 INFO: Loading module hook "hook-xml.py"...
947883 INFO: Loading module hook "hook-zmq.py"...
950345 INFO: Loading module hook "hook-_tkinter.py"...
950701 INFO: checking Tree
950702 INFO: Building Tree because Tree-02.toc is non existent
950703 INFO: Building Tree Tree-02.toc
950863 INFO: checking Tree
950863 INFO: Building Tree because Tree-03.toc is non existent
950864 INFO: Building Tree Tree-03.toc
950905 INFO: Loading module hook "hook-psycopg2.py"...
950910 WARNING: Hidden import "mx.DateTime" not found!
951406 INFO: Looking for ctypes DLLs
951821 INFO: Analyzing run-time hooks ...
951904 INFO: Including run-time hook 'pyi_rth_multiprocessing.py'
951919 INFO: Including run-time hook 'pyi_rth_pkgres.py'
951925 INFO: Including run-time hook 'pyi_rth_win32comgenpy.py'
951929 INFO: Including run-time hook 'pyi_rth_traitlets.py'
951931 INFO: Including run-time hook 'pyi_rth__tkinter.py'
951938 INFO: Including run-time hook 'pyi_rth_certifi.py'
951941 INFO: Including run-time hook 'pyi_rth_mplconfig.py'
951951 INFO: Including run-time hook 'pyi_rth_mpldata.py'
951954 INFO: Including run-time hook 'pyi_rth_pyqt5.py'
952162 INFO: Looking for dynamic libraries
952220 WARNING: lib not found: msmpi.dll dependency of C:\Anaconda\Library\bin\mkl_blacs_msmpi_lp64.dll
952593 WARNING: lib not found: msmpi.dll dependency of C:\Anaconda\Library\bin\mkl_blacs_msmpi_ilp64.dll
953285 WARNING: lib not found: mpich2mpi.dll dependency of C:\Anaconda\Library\bin\mkl_blacs_mpich2_lp64.dll
953507 WARNING: lib not found: impi.dll dependency of C:\Anaconda\Library\bin\mkl_blacs_intelmpi_ilp64.dll
953677 WARNING: lib not found: impi.dll dependency of C:\Anaconda\Library\bin\mkl_blacs_intelmpi_lp64.dll
953842 WARNING: lib not found: mpich2mpi.dll dependency of C:\Anaconda\Library\bin\mkl_blacs_mpich2_ilp64.dll
954028 WARNING: lib not found: pgf90rtl.dll dependency of C:\Anaconda\Library\bin\mkl_pgi_thread.dll
954032 WARNING: lib not found: pgf90.dll dependency of C:\Anaconda\Library\bin\mkl_pgi_thread.dll
954045 WARNING: lib not found: pgc14.dll dependency of C:\Anaconda\Library\bin\mkl_pgi_thread.dll
960651 INFO: Looking for eggs
960652 INFO: Using Python library C:\Anaconda\python37.dll
960652 INFO: Found binding redirects: 
[]
960776 INFO: Warnings written to C:\Users\AG\AppData\Local\Temp\tmp37rik0v3\build\idepa\warn-idepa.txt
962354 INFO: Graph cross-reference written to C:\Users\AG\AppData\Local\Temp\tmp37rik0v3\build\idepa\xref-idepa.html
963328 INFO: Appending 'datas' from .spec
963378 INFO: checking PYZ
963379 INFO: Building PYZ because PYZ-01.toc is non existent
963379 INFO: Building PYZ (ZlibArchive) C:\Users\AG\AppData\Local\Temp\tmp37rik0v3\build\idepa\PYZ-01.pyz
980372 INFO: Building PYZ (ZlibArchive) C:\Users\AG\AppData\Local\Temp\tmp37rik0v3\build\idepa\PYZ-01.pyz completed successfully.
980688 INFO: checking PKG
980688 INFO: Building PKG because PKG-01.toc is non existent
980688 INFO: Building PKG (CArchive) PKG-01.pkg
980838 INFO: Building PKG (CArchive) PKG-01.pkg completed successfully.
980843 INFO: Bootloader C:\Anaconda\lib\site-packages\PyInstaller\bootloader\Windows-64bit\runw.exe
980844 INFO: checking EXE
980844 INFO: Building EXE because EXE-01.toc is non existent
980845 INFO: Building EXE from EXE-01.toc
980853 INFO: Copying icons from ['D:\\Python\\My projects\\IDEPA_indicators_python\\ice_ico.ico']
980856 INFO: Writing RT_GROUP_ICON 0 resource with 76 bytes
980857 INFO: Writing RT_ICON 1 resource with 1128 bytes
980857 INFO: Writing RT_ICON 2 resource with 2440 bytes
980858 INFO: Writing RT_ICON 3 resource with 4264 bytes
980859 INFO: Writing RT_ICON 4 resource with 9640 bytes
980860 INFO: Writing RT_ICON 5 resource with 102216 bytes
980920 INFO: Appending archive to EXE C:\Users\AG\AppData\Local\Temp\tmp37rik0v3\build\idepa\idepa.exe
981212 INFO: Building EXE from EXE-01.toc completed successfully.
981268 INFO: checking COLLECT
981269 INFO: Building COLLECT because COLLECT-01.toc is non existent
981270 INFO: Building COLLECT COLLECT-01.toc
1030411 INFO: Building COLLECT COLLECT-01.toc completed successfully.
Moving project to: D:\Python\Instaladores\auto-py-to-exe-master\auto-py-to-exe-master\output
Complete.

Любая возможная помощь?

...