简体   繁体   中英

Error When imorting PyQt5

I installed PyQt5 but when I try to use idle to run this code it doesn't work it says

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

Links : Code , Error

Have you tried running?

pip3 uninstall PyQt5
pip3 install PyQT5

Also, are the environment paths setup for PyQt5?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM