
在下载各种安装包时,遇见的问题,困扰了我很久很久。
在翻看了很多文章后,终于找到了几种解决的方法。
第一种:pip install XXX(包名) -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
第二种:GitHub下载代码 cd到setup.py对应路径下,使用python setup.py install 指令
第二种方法稍微麻烦一些,是在conda或者pip加上各种切换安装源都没办法下,使用的最后杀手锏
第三种:
直接在源网站搜索对应包:如https://pypi.tuna.tsinghua.edu.cn/simple/pyqt5-tools/
下载好包后,使用指令 pip install pyqt5_tools-5.14.0.1.7-cp38-cp38-win_amd64.whl
出现bug: whl is not supported wheel on this platform
https://blog.youkuaiyun.com/t18438605018/article/details/121769227