How can I install PyQt5 on Mac?

后端 未结 6 891
醉酒成梦
醉酒成梦 2021-02-07 09:31

I am trying to install PyQt5 on my Mac but I do not know how to use it well. I have tried to install sip doing

cd ~/Downloads/sip-4.17
python configure.py
         


        
6条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-07 10:01

    In ~/.pip/pip.log I discovered:

    Skipping https://pypi.python.org/packages/... (from https://pypi.python.org/simple/pyqt5/) because it is not compatible with this Python
    

    Simply installed newwer version of Python 3 from official website and pip3 install PyQt5 finally worked.

提交回复
热议问题