Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

源码打包后exe,运行exe出现以下问题.. #6

Open
wenre opened this issue Nov 11, 2021 · 2 comments
Open

源码打包后exe,运行exe出现以下问题.. #6

wenre opened this issue Nov 11, 2021 · 2 comments

Comments

@wenre
Copy link

wenre commented Nov 11, 2021

系统环境

windows 10
python 3.7.9
pip 20.1.1

运行错误:


image


打包日志
PS F:\tools\aliyun-accesskey-Tools-main> pyinstaller --hidden-import=queue -F --clean OSSTools.py
78 INFO: PyInstaller: 4.5.1
78 INFO: Python: 3.7.9
79 INFO: Platform: Windows-10-10.0.19041-SP0
83 INFO: wrote F:\tools\aliyun-accesskey-Tools-main\OSSTools.spec
90 INFO: UPX is not available.
90 INFO: Removing temporary files and cleaning cache in C:\Users\Hello\AppData\Local\pyinstaller
153 INFO: Extending PYTHONPATH with paths
['F:\\tools\\aliyun-accesskey-Tools-main',
 'F:\\tools\\aliyun-accesskey-Tools-main']
458 INFO: checking Analysis
458 INFO: Building Analysis because Analysis-00.toc is non existent
459 INFO: Initializing module dependency graph...
461 INFO: Caching module graph hooks...
476 INFO: Analyzing base_library.zip ...
1932 INFO: Processing pre-find module path hook distutils from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-distutils.py'.
1932 INFO: distutils: retargeting to non-venv dir 'c:\\program files\\python37\\lib'
2929 INFO: Caching module dependency graph...
3103 INFO: running Analysis Analysis-00.toc
3117 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
  required by c:\program files\python37\python.exe
3346 INFO: Analyzing F:\tools\aliyun-accesskey-Tools-main\OSSTools.py
3528 INFO: Processing pre-find module path hook PyQt5.uic.port_v2 from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-PyQt5.uic.port_v2.py'.
6745 INFO: Analyzing hidden import 'queue'
6751 INFO: Processing module hooks...
6751 INFO: Loading module hook 'hook-aliyunsdkcore.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
7089 INFO: Loading module hook 'hook-cryptography.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
7338 INFO: Loading module hook 'hook-difflib.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7339 INFO: Loading module hook 'hook-distutils.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7340 INFO: Loading module hook 'hook-encodings.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7418 INFO: Loading module hook 'hook-heapq.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7419 INFO: Loading module hook 'hook-pickle.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7420 INFO: Loading module hook 'hook-PyQt5.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7617 WARNING: Hidden import "sip" not found!
7618 INFO: Loading module hook 'hook-PyQt5.Qt.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7661 INFO: Loading module hook 'hook-PyQt5.QtCore.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7766 INFO: Loading module hook 'hook-PyQt5.QtGui.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7932 INFO: Loading module hook 'hook-PyQt5.QtHelp.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
8232 INFO: Loading module hook 'hook-PyQt5.QtMultimedia.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
8621 INFO: Loading module hook 'hook-PyQt5.QtNetwork.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
8801 INFO: Loading module hook 'hook-PyQt5.QtOpenGL.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
9024 INFO: Loading module hook 'hook-PyQt5.QtPrintSupport.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
9462 INFO: Loading module hook 'hook-PyQt5.QtQml.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
9950 INFO: Loading module hook 'hook-PyQt5.QtQuick.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
10256 INFO: Loading module hook 'hook-PyQt5.QtQuickWidgets.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
10732 INFO: Loading module hook 'hook-PyQt5.QtSensors.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
10827 INFO: Loading module hook 'hook-PyQt5.QtSerialPort.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
10914 INFO: Loading module hook 'hook-PyQt5.QtSql.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
11161 INFO: Loading module hook 'hook-PyQt5.QtSvg.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
11772 INFO: Loading module hook 'hook-PyQt5.QtTest.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
12076 INFO: Loading module hook 'hook-PyQt5.QtWidgets.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
12284 INFO: Loading module hook 'hook-PyQt5.QtXml.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
12369 INFO: Loading module hook 'hook-PyQt5.uic.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
12376 INFO: Loading module hook 'hook-sysconfig.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
12376 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
12377 INFO: Loading module hook 'hook-xml.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
12472 INFO: Looking for ctypes DLLs
12474 INFO: Analyzing run-time hooks ...
12477 INFO: Including run-time hook 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py'
12480 INFO: Including run-time hook 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py'
12481 INFO: Including run-time hook 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pyqt5.py'
12490 INFO: Looking for dynamic libraries
12868 WARNING: lib not found: Qt53DRender.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
12871 WARNING: lib not found: Qt53DAnimation.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
12875 WARNING: lib not found: Qt53DLogic.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
12882 WARNING: lib not found: Qt53DInput.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
12888 WARNING: lib not found: Qt53DCore.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
13174 WARNING: lib not found: Qt5MultimediaQuick.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtMultimedia\declarative_multimedia.dll
13294 WARNING: lib not found: Qt53DRender.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene2D\qtquickscene2dplugin.dll
13298 WARNING: lib not found: Qt53DQuickScene2D.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene2D\qtquickscene2dplugin.dll
13304 WARNING: lib not found: Qt53DCore.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene2D\qtquickscene2dplugin.dll
14767 INFO: Looking for eggs
14768 INFO: Using Python library c:\program files\python37\python37.dll
14768 INFO: Found binding redirects:
[]
14776 INFO: Warnings written to F:\tools\aliyun-accesskey-Tools-main\build\OSSTools\warn-OSSTools.txt
15031 INFO: Graph cross-reference written to F:\tools\aliyun-accesskey-Tools-main\build\OSSTools\xref-OSSTools.html
15242 INFO: checking PYZ
15242 INFO: Building PYZ because PYZ-00.toc is non existent
15242 INFO: Building PYZ (ZlibArchive) F:\tools\aliyun-accesskey-Tools-main\build\OSSTools\PYZ-00.pyz
16317 INFO: Building PYZ (ZlibArchive) F:\tools\aliyun-accesskey-Tools-main\build\OSSTools\PYZ-00.pyz completed successfully.
16353 INFO: checking PKG
16354 INFO: Building PKG because PKG-00.toc is non existent
16354 INFO: Building PKG (CArchive) PKG-00.pkg
44251 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
44406 INFO: Bootloader C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyInstaller\bootloader\Windows-64bit\run.exe
44406 INFO: checking EXE
44406 INFO: Building EXE because EXE-00.toc is non existent
44406 INFO: Building EXE from EXE-00.toc
44418 INFO: Copying icons from ['C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\bootloader\\images\\icon-console.ico']
44419 INFO: Writing RT_GROUP_ICON 0 resource with 104 bytes
44420 INFO: Writing RT_ICON 1 resource with 3752 bytes
44420 INFO: Writing RT_ICON 2 resource with 2216 bytes
44420 INFO: Writing RT_ICON 3 resource with 1384 bytes
44420 INFO: Writing RT_ICON 4 resource with 37019 bytes
44420 INFO: Writing RT_ICON 5 resource with 9640 bytes
44420 INFO: Writing RT_ICON 6 resource with 4264 bytes
44420 INFO: Writing RT_ICON 7 resource with 1128 bytes
44435 INFO: Updating manifest in F:\tools\aliyun-accesskey-Tools-main\build\OSSTools\run.exe.fge29a20
44436 INFO: Updating resource type 24 name 1 language 0
44450 INFO: Appending archive to EXE F:\tools\aliyun-accesskey-Tools-main\dist\OSSTools.exe
59985 INFO: Building EXE from EXE-00.toc completed successfully.
PS F:\tools\aliyun-accesskey-Tools-main> pyinstaller --hidden-import=queue -F -w --clean OSSTools.py
69 INFO: PyInstaller: 4.5.1
70 INFO: Python: 3.7.9
70 INFO: Platform: Windows-10-10.0.19041-SP0
74 INFO: wrote F:\tools\aliyun-accesskey-Tools-main\OSSTools.spec
80 INFO: UPX is not available.
80 INFO: Removing temporary files and cleaning cache in C:\Users\Hello\AppData\Local\pyinstaller
195 INFO: Extending PYTHONPATH with paths
['F:\\tools\\aliyun-accesskey-Tools-main',
 'F:\\tools\\aliyun-accesskey-Tools-main']
502 INFO: checking Analysis
502 INFO: Building Analysis because Analysis-00.toc is non existent
502 INFO: Initializing module dependency graph...
505 INFO: Caching module graph hooks...
519 INFO: Analyzing base_library.zip ...
1990 INFO: Processing pre-find module path hook distutils from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-distutils.py'.
1991 INFO: distutils: retargeting to non-venv dir 'c:\\program files\\python37\\lib'
2978 INFO: Caching module dependency graph...
3145 INFO: running Analysis Analysis-00.toc
3159 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
  required by c:\program files\python37\python.exe
3377 INFO: Analyzing F:\tools\aliyun-accesskey-Tools-main\OSSTools.py
3576 INFO: Processing pre-find module path hook PyQt5.uic.port_v2 from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-PyQt5.uic.port_v2.py'.
6700 INFO: Analyzing hidden import 'queue'
6707 INFO: Processing module hooks...
6707 INFO: Loading module hook 'hook-aliyunsdkcore.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
7043 INFO: Loading module hook 'hook-cryptography.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
7291 INFO: Loading module hook 'hook-difflib.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7293 INFO: Loading module hook 'hook-distutils.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7293 INFO: Loading module hook 'hook-encodings.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7370 INFO: Loading module hook 'hook-heapq.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7372 INFO: Loading module hook 'hook-pickle.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7373 INFO: Loading module hook 'hook-PyQt5.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7569 WARNING: Hidden import "sip" not found!
7570 INFO: Loading module hook 'hook-PyQt5.Qt.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7612 INFO: Loading module hook 'hook-PyQt5.QtCore.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7703 INFO: Loading module hook 'hook-PyQt5.QtGui.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
7880 INFO: Loading module hook 'hook-PyQt5.QtHelp.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
8304 INFO: Loading module hook 'hook-PyQt5.QtMultimedia.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
8741 INFO: Loading module hook 'hook-PyQt5.QtNetwork.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
8914 INFO: Loading module hook 'hook-PyQt5.QtOpenGL.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
9244 INFO: Loading module hook 'hook-PyQt5.QtPrintSupport.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
9785 INFO: Loading module hook 'hook-PyQt5.QtQml.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
10283 INFO: Loading module hook 'hook-PyQt5.QtQuick.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
10674 INFO: Loading module hook 'hook-PyQt5.QtQuickWidgets.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
11392 INFO: Loading module hook 'hook-PyQt5.QtSensors.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
11563 INFO: Loading module hook 'hook-PyQt5.QtSerialPort.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
11735 INFO: Loading module hook 'hook-PyQt5.QtSql.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
12140 INFO: Loading module hook 'hook-PyQt5.QtSvg.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
12485 INFO: Loading module hook 'hook-PyQt5.QtTest.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
12822 INFO: Loading module hook 'hook-PyQt5.QtWidgets.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
13162 INFO: Loading module hook 'hook-PyQt5.QtXml.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
13307 INFO: Loading module hook 'hook-PyQt5.uic.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
13314 INFO: Loading module hook 'hook-sysconfig.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
13314 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
13315 INFO: Loading module hook 'hook-xml.py' from 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks'...
13403 INFO: Looking for ctypes DLLs
13405 INFO: Analyzing run-time hooks ...
13408 INFO: Including run-time hook 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py'
13411 INFO: Including run-time hook 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py'
13412 INFO: Including run-time hook 'C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pyqt5.py'
13418 INFO: Looking for dynamic libraries
13904 WARNING: lib not found: Qt53DQuickScene2D.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene2D\qtquickscene2dplugin.dll
13908 WARNING: lib not found: Qt53DCore.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene2D\qtquickscene2dplugin.dll
13911 WARNING: lib not found: Qt53DRender.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene2D\qtquickscene2dplugin.dll
14379 WARNING: lib not found: Qt53DLogic.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
14387 WARNING: lib not found: Qt53DAnimation.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
14391 WARNING: lib not found: Qt53DCore.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
14394 WARNING: lib not found: Qt53DInput.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
14398 WARNING: lib not found: Qt53DRender.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
14527 WARNING: lib not found: Qt5MultimediaQuick.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtMultimedia\declarative_multimedia.dll
15640 INFO: Looking for eggs
15640 INFO: Using Python library c:\program files\python37\python37.dll
15641 INFO: Found binding redirects:
[]
15649 INFO: Warnings written to F:\tools\aliyun-accesskey-Tools-main\build\OSSTools\warn-OSSTools.txt
15913 INFO: Graph cross-reference written to F:\tools\aliyun-accesskey-Tools-main\build\OSSTools\xref-OSSTools.html
16112 INFO: checking PYZ
16112 INFO: Building PYZ because PYZ-00.toc is non existent
16112 INFO: Building PYZ (ZlibArchive) F:\tools\aliyun-accesskey-Tools-main\build\OSSTools\PYZ-00.pyz
17153 INFO: Building PYZ (ZlibArchive) F:\tools\aliyun-accesskey-Tools-main\build\OSSTools\PYZ-00.pyz completed successfully.
17200 INFO: checking PKG
17200 INFO: Building PKG because PKG-00.toc is non existent
17200 INFO: Building PKG (CArchive) PKG-00.pkg
44909 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
45058 INFO: Bootloader C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyInstaller\bootloader\Windows-64bit\runw.exe
45058 INFO: checking EXE
45058 INFO: Building EXE because EXE-00.toc is non existent
45059 INFO: Building EXE from EXE-00.toc
45072 INFO: Copying icons from ['C:\\Users\\Hello\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyInstaller\\bootloader\\images\\icon-windowed.ico']
45073 INFO: Writing RT_GROUP_ICON 0 resource with 104 bytes
45074 INFO: Writing RT_ICON 1 resource with 3752 bytes
45074 INFO: Writing RT_ICON 2 resource with 2216 bytes
45074 INFO: Writing RT_ICON 3 resource with 1384 bytes
45074 INFO: Writing RT_ICON 4 resource with 38188 bytes
45074 INFO: Writing RT_ICON 5 resource with 9640 bytes
45074 INFO: Writing RT_ICON 6 resource with 4264 bytes
45074 INFO: Writing RT_ICON 7 resource with 1128 bytes
45113 INFO: Updating manifest in F:\tools\aliyun-accesskey-Tools-main\build\OSSTools\runw.exe._75axpdc
45114 INFO: Updating resource type 24 name 1 language 0
45154 INFO: Appending archive to EXE F:\tools\aliyun-accesskey-Tools-main\dist\OSSTools.exe
57632 INFO: Building EXE from EXE-00.toc completed successfully.
PS F:\tools\aliyun-accesskey-Tools-main>
OSSTools.spec:
# -*- mode: python ; coding: utf-8 -*-


block_cipher = None


a = Analysis(['OSSTools.py'],
             pathex=['F:\\tools\\aliyun-accesskey-Tools-main'],
             binaries=[],
             datas=[],
             hiddenimports=['queue'],
             hookspath=[],
             hooksconfig={},
             runtime_hooks=[],
             excludes=[],
             win_no_prefer_redirects=False,
             win_private_assemblies=False,
             cipher=block_cipher,
             noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
             cipher=block_cipher)

exe = EXE(pyz,
          a.scripts,
          a.binaries,
          a.zipfiles,
          a.datas,  
          [],
          name='OSSTools',
          debug=False,
          bootloader_ignore_signals=False,
          strip=False,
          upx=True,
          upx_exclude=[],
          runtime_tmpdir=None,
          console=False,
          disable_windowed_traceback=False,
          target_arch=None,
          codesign_identity=None,
          entitlements_file=None )

warn-OSSTools.txt:

This file lists modules PyInstaller was not able to find. This does not
necessarily mean this module is required for running you program. Python and
Python 3rd-party packages include a lot of conditional or optional modules. For
example the module 'ntpath' only exists on Windows, whereas the module
'posixpath' only exists on Posix systems.

Types if import:
* top-level: imported at the top-level - look at these first
* conditional: imported within an if-statement
* delayed: imported from within a function
* optional: imported within a try-except-statement

IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for
           yourself tracking down the missing module. Thanks!

missing module named _posixsubprocess - imported by subprocess (conditional)
missing module named pwd - imported by posixpath (delayed, conditional), shutil (optional), tarfile (optional), http.server (delayed, optional), webbrowser (delayed), netrc (delayed, conditional), getpass (delayed)
missing module named posix - imported by os (conditional, optional)
missing module named resource - imported by posix (top-level)
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional)
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional)
missing module named 'org.python' - imported by copy (optional), xml.sax (delayed, conditional)
missing module named pyimod03_importers - imported by C:\Users\z\AppData\Roaming\Python\Python37\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgutil.py (top-level)
missing module named grp - imported by shutil (optional), tarfile (optional)
missing module named urllib.getproxies_environment - imported by urllib (conditional), aliyunsdkcore.vendored.requests.compat (conditional)
missing module named urllib.proxy_bypass_environment - imported by urllib (conditional), aliyunsdkcore.vendored.requests.compat (conditional)
missing module named urllib.proxy_bypass - imported by urllib (conditional), aliyunsdkcore.vendored.requests.compat (conditional)
missing module named urllib.getproxies - imported by urllib (conditional), aliyunsdkcore.vendored.requests.compat (conditional)
missing module named urllib.urlencode - imported by urllib (conditional), aliyunsdkcore.vendored.requests.compat (conditional)
missing module named urllib.unquote_plus - imported by urllib (conditional), aliyunsdkcore.vendored.requests.compat (conditional)
missing module named urllib.quote_plus - imported by urllib (conditional), aliyunsdkcore.vendored.requests.compat (conditional)
missing module named urllib.unquote - imported by urllib (conditional), aliyunsdkcore.vendored.requests.compat (conditional)
missing module named urllib.quote - imported by urllib (conditional), aliyunsdkcore.vendored.requests.compat (conditional)
missing module named termios - imported by tty (top-level), getpass (optional)
missing module named vms_lib - imported by platform (delayed, conditional, optional)
missing module named 'java.lang' - imported by platform (delayed, optional), xml.sax._exceptions (conditional)
missing module named java - imported by platform (delayed)
missing module named _scproxy - imported by urllib.request (conditional)
missing module named _winreg - imported by platform (delayed, optional), aliyunsdkcore.vendored.requests.utils (delayed, conditional)
missing module named readline - imported by cmd (delayed, conditional, optional), code (delayed, conditional, optional), pdb (delayed, optional)
missing module named org - imported by pickle (optional)
missing module named command - imported by OSSTools (top-level), F:\tools\aliyun-accesskey-Tools-main\OSSTools.py (top-level)
missing module named StringIO - imported by PyQt5.uic.port_v2.string_io (optional), aliyunsdkcore.vendored.six (conditional), aliyunsdkcore.vendored.requests.packages.urllib3.packages.six (conditional), simplejson.compat (conditional, optional), aliyunsdkcore.vendored.requests.compat (conditional)
missing module named win_inet_pton - imported by aliyunsdkcore.vendored.requests.packages.urllib3.packages.socks (conditional, optional)
missing module named backports - imported by aliyunsdkcore.vendored.requests.packages.urllib3.packages.ssl_match_hostname (optional)
missing module named _abcoll - imported by aliyunsdkcore.vendored.requests.packages.urllib3.packages.ordered_dict (optional)
missing module named dummy_thread - imported by aliyunsdkcore.vendored.requests.packages.urllib3.packages.ordered_dict (optional)
missing module named thread - imported by aliyunsdkcore.vendored.requests.packages.urllib3.packages.ordered_dict (optional)
missing module named Queue - imported by aliyunsdkcore.vendored.requests.packages.urllib3.util.queue (conditional)
missing module named 'aliyunsdkcore.vendored.requests.packages.urllib3.packages.six.moves' - imported by aliyunsdkcore.vendored.requests.packages.urllib3.exceptions (top-level), aliyunsdkcore.vendored.requests.packages.urllib3.connectionpool (top-level), aliyunsdkcore.vendored.requests.packages.urllib3.connection (top-level), aliyunsdkcore.vendored.requests.packages.urllib3.util.response (top-level), aliyunsdkcore.vendored.requests.packages.urllib3.util.url (top-level), aliyunsdkcore.vendored.requests.packages.urllib3.request (top-level), aliyunsdkcore.vendored.requests.packages.urllib3.response (top-level), aliyunsdkcore.vendored.requests.packages.urllib3.util.queue (top-level), aliyunsdkcore.vendored.requests.packages.urllib3.poolmanager (top-level)
missing module named _dummy_threading - imported by dummy_threading (optional)
missing module named 'OpenSSL.crypto' - imported by aliyunsdkcore.vendored.requests.packages.urllib3.contrib.pyopenssl (delayed)
missing module named bcrypt - imported by cryptography.hazmat.primitives.serialization.ssh (optional)
missing module named cryptography.x509.UnsupportedExtension - imported by cryptography.x509 (optional), aliyunsdkcore.vendored.requests.packages.urllib3.contrib.pyopenssl (optional)
missing module named OpenSSL - imported by aliyunsdkcore.vendored.requests.packages.urllib3.contrib.pyopenssl (top-level)
missing module named Cookie - imported by aliyunsdkcore.vendored.requests.compat (conditional)
missing module named cookielib - imported by aliyunsdkcore.vendored.requests.compat (conditional)
missing module named urllib2 - imported by aliyunsdkcore.vendored.requests.compat (conditional)
missing module named urlparse - imported by aliyunsdkcore.vendored.requests.compat (conditional)
missing module named UserDict - imported by simplejson.ordered_dict (top-level)
missing module named cStringIO - imported by PyQt5.uic.port_v2.string_io (optional), simplejson.compat (conditional, optional)
missing module named copy_reg - imported by cStringIO (top-level)
missing module named _uuid - imported by uuid (optional)
missing module named netbios - imported by uuid (delayed)
missing module named win32wnet - imported by uuid (delayed)
missing module named 'aliyunsdkcore.vendored.six.moves' - imported by aliyunsdkcore.client (top-level), aliyunsdkcore.auth.composer.rpc_signature_composer (top-level), aliyunsdkcore.auth.composer.roa_signature_composer (top-level), aliyunsdkcore.auth.signers.ecs_ram_role_signer (top-level)
missing module named port_v2 - imported by PyQt5.uic.properties (conditional)

@wenre
Copy link
Author

wenre commented Nov 11, 2021

12868 WARNING: lib not found: Qt53DRender.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
12871 WARNING: lib not found: Qt53DAnimation.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
12875 WARNING: lib not found: Qt53DLogic.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
12882 WARNING: lib not found: Qt53DInput.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
12888 WARNING: lib not found: Qt53DCore.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene3D\qtquickscene3dplugin.dll
13174 WARNING: lib not found: Qt5MultimediaQuick.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtMultimedia\declarative_multimedia.dll
13294 WARNING: lib not found: Qt53DRender.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene2D\qtquickscene2dplugin.dll
13298 WARNING: lib not found: Qt53DQuickScene2D.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene2D\qtquickscene2dplugin.dll
13304 WARNING: lib not found: Qt53DCore.dll dependency of C:\Users\Hello\AppData\Roaming\Python\Python37\site-packages\PyQt5\Qt5\qml\QtQuick\Scene2D\qtquickscene2dplugin.dll

上面这些dll没有找到..
这是我用的依赖文件 requirements.txt

aliyun-python-sdk-core==2.13.35
aliyun-python-sdk-ecs==4.24.11
aliyun-python-sdk-rds==2.6.1
altgraph==0.17.2
beautifulsoup4==4.10.0
bidict==0.21.4
certifi==2021.10.8
cffi==1.15.0
chardet==4.0.0
click==8.0.3
cryptography==35.0.0
et-xmlfile==1.1.0
form==0.0.1
future==0.18.2
idna==3.3
itsdangerous==2.0.1
jdcal==1.4.1
Jinja2==3.0.3
jmespath==0.10.0
MarkupSafe==2.0.1
Naked==0.1.31
openpyxl==3.0.9
pefile==2021.9.3
pocsuite3==1.8.5
prompt-toolkit==3.0.22
pycparser==2.21
pygame==2.1.0
Pygments==2.10.0
pyinstaller==4.5.1
pyinstaller-hooks-contrib==2021.3
PyQt5==5.15.6
pyqt5-plugins==5.15.4.2.2
PyQt5-sip==12.9.0
pyqt5-tools==5.15.4.3.2
PyQt5Designer==5.14.1
python-dotenv==0.19.1
python-engineio==4.3.0
python-socketio==5.4.1
pywin32-ctypes==0.2.0
PyYAML==6.0
qt5-applications==5.15.2.2.2
requests==2.26.0
requests-toolbelt==0.9.1
shellescape==3.8.1
simplejson==3.17.5
six==1.16.0
soupsieve==2.3
urllib3==1.26.7
wcwidth==0.2.5
Werkzeug==2.0.2

@mrknow001
Copy link
Owner

你pyqt的包有问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants