Задать вопрос
@Neizvest

В чем ошибка и как решить?

C:\Users\pikro\PycharmProjects\Jarvis2.0>pyinstaller.exe --onefile --icon=micro.ico --console Jarvis.py
59 INFO: PyInstaller: 3.4
59 INFO: Python: 3.6.8
59 INFO: Platform: Windows-10-10.0.17763-SP0
59 INFO: wrote C:\Users\pikro\PycharmProjects\Jarvis2.0\Jarvis.spec
59 INFO: UPX is not available.
59 INFO: Extending PYTHONPATH with paths
['C:\\Users\\pikro\\PycharmProjects\\Jarvis2.0',
 'C:\\Users\\pikro\\PycharmProjects\\Jarvis2.0']
65 INFO: checking Analysis
65 INFO: Building Analysis because Analysis-00.toc is non existent
65 INFO: Initializing module dependency graph...
65 INFO: Initializing module graph hooks...
69 INFO: Analyzing base_library.zip ...
2422 INFO: running Analysis Analysis-00.toc
2422 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
  required by c:\users\pikro\appdata\local\programs\python\python36\python.exe
2950 INFO: Caching module hooks...
2958 INFO: Analyzing C:\Users\pikro\PycharmProjects\Jarvis2.0\Jarvis.py
3064 INFO: Processing pre-safe import module hook   six.moves
3459 INFO: Loading module hooks...
3459 INFO: Loading module hook "hook-encodings.py"...
3540 INFO: Loading module hook "hook-pydoc.py"...
3540 INFO: Loading module hook "hook-PyQt5.py"...
3679 WARNING: Hidden import "sip" not found!
3679 INFO: Loading module hook "hook-PyQt5.QtCore.py"...
3764 INFO: Loading module hook "hook-PyQt5.QtGui.py"...
3889 INFO: Loading module hook "hook-PyQt5.QtWidgets.py"...
4174 INFO: Loading module hook "hook-xml.py"...
4189 INFO: Looking for ctypes DLLs
4189 INFO: Analyzing run-time hooks ...
4189 INFO: Including run-time hook 'pyi_rth_qt5.py'
4189 INFO: Looking for dynamic libraries
4969 INFO: Looking for eggs
4969 INFO: Using Python library c:\users\pikro\appdata\local\programs\python\python36\python36.dll
4979 INFO: Found binding redirects:
[]
4979 INFO: Warnings written to C:\Users\pikro\PycharmProjects\Jarvis2.0\build\Jarvis\warn-Jarvis.txt
5009 INFO: Graph cross-reference written to C:\Users\pikro\PycharmProjects\Jarvis2.0\build\Jarvis\xref-Jarvis.html
5019 INFO: checking PYZ
5019 INFO: Building PYZ because PYZ-00.toc is non existent
5019 INFO: Building PYZ (ZlibArchive) C:\Users\pikro\PycharmProjects\Jarvis2.0\build\Jarvis\PYZ-00.pyz
5419 INFO: Building PYZ (ZlibArchive) C:\Users\pikro\PycharmProjects\Jarvis2.0\build\Jarvis\PYZ-00.pyz completed successfully.
5427 INFO: checking PKG
5427 INFO: Building PKG because PKG-00.toc is non existent
5427 INFO: Building PKG (CArchive) PKG-00.pkg
5639 WARNING: One binary added with two internal names.
5639 WARNING: ('libGLESv2.dll',
 'C:\\users\\pikro\\appdata\\local\\programs\\python\\python36\\lib\\site-packages\\PyQt5\\Qt\\bin\\libGLESv2.dll',
 'BINARY')
<b>5639 WARNING: was placed previously at
5639 WARNING: ('PyQt5\\Qt\\bin\\libGLESv2.dll',</b>
 'C:\\users\\pikro\\appdata\\local\\programs\\python\\python36\\lib\\site-packages\\PyQt5\\Qt\\bin\\libGLESv2.dll',
 'BINARY')
15440 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
15444 INFO: Bootloader c:\users\pikro\appdata\local\programs\python\python36\lib\site-packages\PyInstaller\bootloader\Windows-64bit\run.exe
15444 INFO: checking EXE
15445 INFO: Building EXE because EXE-00.toc is non existent
15445 INFO: Building EXE from EXE-00.toc
15447 INFO: SRCPATH [('micro.ico', None)]
15447 INFO: Updating icons from ['micro.ico'] to C:\Users\pikro\AppData\Local\Temp\tmpxsk9qig9
15461 INFO: Writing RT_GROUP_ICON 0 resource with 132 bytes
15461 INFO: Writing RT_ICON 1 resource with 9418 bytes
15462 INFO: Writing RT_ICON 2 resource with 67624 bytes
15463 INFO: Writing RT_ICON 3 resource with 38056 bytes
15464 INFO: Writing RT_ICON 4 resource with 21640 bytes
15464 INFO: Writing RT_ICON 5 resource with 16936 bytes
15464 INFO: Writing RT_ICON 6 resource with 9640 bytes
15465 INFO: Writing RT_ICON 7 resource with 4264 bytes
15465 INFO: Writing RT_ICON 8 resource with 2440 bytes
15466 INFO: Writing RT_ICON 9 resource with 1128 bytes
15468 INFO: Appending archive to EXE C:\Users\pikro\PycharmProjects\Jarvis2.0\dist\Jarvis.exe
15490 INFO: Building EXE from EXE-00.toc completed successfully.


и из-за этой ошибки не открывается exe файл(который был создан), при этом все dll файлы на месте
  • Вопрос задан
  • 688 просмотров
Подписаться 1 Средний 10 комментариев
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы