无法让PyQt5运行

时间:2018-05-30 09:52:14

标签: python qt pyqt5

我下载了这个: https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.6/

当运行任何示例脚本时,我收到module not found错误,如下所示:

File "C:\Program Files (x86)\Python36-32\Lib\site-packages\PyQt5\examples\dialogs\classwizard\classwizard.py", line 45, in <module>
from PyQt5.QtCore import QDir, QFile, QRegExp
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.`

我读了这篇文章并添加了env变量: PyQt5 module cant be found after installing PyQt5 with Installer

可能是因为我使用的是Python 3.6.5。并且安装程序适用于Python 3.5?或者我必须安装额外的东西吗?我怀疑这是因为安装程序说它安装了PyQt,Qt和其他工具。

0 个答案:

没有答案