【发布时间】:2016-02-17 17:18:39
【问题描述】:
我在 Windows 7 上为 python 2.7 下载了 PyQt5 可执行文件,两个 64 位版本。
安装在 C:\Python27\Lib\site-packages\PyQt5
我正在尝试使用上面的代码:
from PyQt5.QtWidgets import QApplication, QDialog
我得到错误:
ImportError: DLL load failed: The specified module could not be found.
我在这个文件夹中找到了 QtWidgets:C:\Python27\Lib\site-packages\PyQt5\sip\PyQt5\QtWidgets
你有什么想法吗?
【问题讨论】:
标签: python python-2.7 pyqt5