pip 安装 pyqt5 失败Could not find a version that satisfies the requirement PyQt5 (from versions: ) No ma

报错信息:error: could not find a version that satisfies the requirement pyqt5 (from versions: none)
error: no matching distribution found for pyqt5
需要换源,并且指定python解释器
该方法也可以适用于其他包安装失败的情况

C:\Users\13286\AppData\Local\Programs\Python\Python36\python.exe -m pip install PyQt5 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

你可能感兴趣的:(pip,python,qt)