我安装了PyQt5,但当我尝试使用空闲来运行此代码时,它无法正常工作
Traceback (most recent call last):
File "C:/Users/PRO/Desktop/a.py", line 1, in <module>
from PyQt5.QtWidgets import *
ImportError: DLL load failed: The specified procedure was not found
答案 0 :(得分:0)
您尝试跑步吗?
pip3 uninstall PyQt5
pip3 install PyQT5
此外,PyQt5的环境路径是否已设置?