在使用 pip3 或者 pip安装一些包的时候有的时候会超时然后报错
比如安装:
pip3 install --upgrade tinify
最后还报错:
Could not find a version that satisfies the requirement tinify (from versions: )
No matching distribution found for tinify
参考:
https://blog.csdn.net/qq_25964837/article/details/80295041
比如使用如下,就搞定了。
pip install tinify -i http://pypi.douban.com/simple --trusted-host pypi.douban.com