【发布时间】:2020-07-27 05:38:44
【问题描述】:
我创建了一个正确构建的 pyinstaller .exe,而 pyinstaller 没有任何错误。当我从 cmd 运行它时,它运行良好,但是当我双击 .exe 文件时,它不起作用。我读到这与 PyQt5 有关系,但我没有让它工作。这是创建语句:
pyinstaller --paths
C:\Users\430350\AppData\Local\Programs\Python\Python36\Lib\site-
packages\PyQt5\Qt\bin "path" --hidden-import numpy.core._dtype_ctypes --hidden-
import fix_qt_import_error --icon=icon.ico --noconfirm
提前致谢!
【问题讨论】:
标签: python windows pyqt pyinstaller