I downloaded PyQt5 executable file on Windows 7 for python 2.7 both 64bit versions.
Is installed on C:\\Python27\\Lib\\site-packages\\PyQt5
I'm trying to use the above code:
from PyQt5.QtWidgets import QApplication, QDialog
I get the error:
ImportError: DLL load failed: The specified module could not be found.
I found the QtWidgets on this folder: C:\\Python27\\Lib\\site-packages\\PyQt5\\sip\\PyQt5\\QtWidgets
Do you have any idea?
您确定安装的PyQt5版本与Python版本(32位或64位)兼容吗?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.