|
|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
1.问题描述
a.python 3.7 + pyside2 (只用pyside2,没有使用PyQt5)
b.使用pyinstaller -F xxx.py 打包,生成xxx.exe
c.使用cmd运行exe文件
/*******************/
2.报错
Traceback (most recent call last):
File "PyInstaller\loader\rthooks\pyi_rth_qt5plugins.py", line 47, in
ModuleNotFoundError: No module named 'PyQt5'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "PyInstaller\loader\rthooks\pyi_rth_qt5plugins.py", line 49, in
ImportError: DLL load failed: 找不到指定的程序。
[16072] Failed to execute script pyi_rth_qt5plugins
不知道为啥提示No module named 'PyQt5',在安装的lib中也只有pyside2;
多谢大神指点。 |
|