简体   繁体   English

无法在Windows 10上为python3.4安装pyqt5

[英]Cannot install pyqt5 for python3.4 on windows 10

I tried to install PyQt5 on Windows 10 for python 3.4 with pip using this code on cmd 我试图在Windows 10上为Python 3.4安装PyQt5,并在cmd上使用此代码使用pip

pip install pyqt5

it answers 它回答

Collecting pyqt5
Using cached PyQt5-5.8-5.8.0-cp34.cp35.cp36.cp37-none-win-amd64.whl

but I received this error 但是我收到这个错误

Could not find a version the satisfies the requirement sip>=4.19.1 <from pyqt5> <from versions: > 
No matching distribution found for sip>=4.19.1 <from pyqt5>

Seems that you can install PyQt5 via pip only from Python 3.5 and later. 似乎只能从Python 3.5及更高版本通过pip安装PyQt5。
Since you are using Python 3.4, you can upgrade Python or download the windows executable (32 bit or 64 bit) for example from this site . 由于您使用的是Python 3.4,因此可以升级Python或从此站点下载Windows可执行文件(32位或64位)。

Here, you can find the link from documentation : 在这里,您可以从文档中找到链接:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM