无法在Windows 10上为Python3.4安装PyQt5

2024-05-29 10:10:49 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图在windows10forpython3.4上安装PyQt5,其中pip在cmd上使用以下代码

pip install pyqt5

它回答了

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

但我收到了这个错误

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>

Tags: installpipthe代码fromcmdpyqt5using
2条回答

似乎您只能从Python3.5和更高版本通过pip安装PyQt5。
因为您使用的是Python3.4,所以您可以升级Python或从这个site下载windows可执行文件(32位或64位)。

在这里,您可以从documentation找到链接:

相关问题 更多 >

    热门问题