在分析PyQt5时出错

时间:2018-01-13 08:20:20

标签: python python-3.x pyqt5

我安装了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

链接:CodeError

1 个答案:

答案 0 :(得分:0)

您尝试跑步吗?

pip3 uninstall PyQt5
pip3 install PyQT5

此外,PyQt5的环境路径是否已设置?