报错信息: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
Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐