[英]Installing SIP 4.16.4 and PyQt5.3.1 for Python 3.4 x64 on Windows 8.1
[英]installing PyQt 5 on windows 7 with python 3.4
我想通过pip在Windows上安装PyQt5但是让我犯这个错误:
pip install PyQt5
Collecting PyQt5
Using cached PyQt5-5.7.1-5.7.1-cp34.cp35.cp36.cp37-none-win32.whl
Collecting sip>=4.19 (from PyQt5)
Could not find a version that satisfies the requirement sip>=4.19 (from PyQt5)
(from versions: )
No matching distribution found for sip>=4.19 (from PyQt5)
当我尝试通过pip安装sip时提出我这个错误:
Could not find a version that satisfies the requirement SIP (from versions: )
No matching distribution found for SIP
我能做什么?
您可以使用pip安装SIP,然后使用pyQt5。
pip install SIP
但是为了能够做到这一点,你需要python 3.5,并且更好地使用virtualenv来解决核心安装/更改版本。
然后你可以尝试安装PyQt5。
pip install pyqt5
python --version
) pip3 install PyQt5
然后应该成功安装SIP和PyQt5
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.