![](/img/trans.png)
[英]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.