我们试图换成本地源(随便哪个都行,豆瓣,清华),
pip install -i http://pypi.douban.com/simple/ jieba
然后报错了,
Looking in indexes: http://pypi.douban.com/simple/
WARNING: The repository located at pypi.douban.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with ‘–trusted-host pypi.douban.com’.
大概可以看出来它写的是http协议不靠谱,建议改成HTTPS,应该是因为http有加密吧,不管了。
接下来换成HTTPS
pip install -i https://pypi.douban.com/simple/ jieba
哎,成功了
pip下载太慢超时的方法
于 2022-03-03 15:13:20 首次发布