pyuic5 - ModuleNotFoundError: No module named PyQt5.sip

后端 未结 5 1455
误落风尘
误落风尘 2021-02-15 15:25

I have just installed Anaconda 5.2 with Python 3.6 on my windows system. Also installed pyqt5 and pyqt5-tools via pip with administrator privilege. Now when I run pyuic5.exe for

5条回答
  •  醉梦人生
    2021-02-15 15:39

    As of June 2019, pyqt5-tools no longer exists. The solution I found was first installing pyqt5-sip and then install pyqt5

    $ pip install pyqt5-sip
    
    $ pip install pyqt5
    

    This seems to get rid of the following error: ModuleNotFoundError: No module named 'PyQt5.sip'

提交回复
热议问题