pyuic5 - ModuleNotFoundError: No module named PyQt5.sip

后端 未结 5 1461
误落风尘
误落风尘 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:49

    None of the answers above worked for PyQt5 5.13.0 on conda's python 3.6.

    With pyqt5 and pyqt5-sip installed just go into python's site-packages and copy sip.so from the PyQt5_sip package to PyQt5 folder (or make a symlink) where the rest of Qt's so modules are.

    Seems like a poor decision to pull sip out into a separate package.

提交回复
热议问题