One - One Code All

Blog Content

default-timeout解决pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool

Python   2018-12-16 17:23:57

pip安装python packages报错:


pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Read timed out.


pip --default-timeout=100 install tensorflow==2.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

pip --default-timeout=100 install tensorflow==2.0.0 -i https://pypi.douban.com/simple



上一篇:linux命令行使用python json.tool将结果标准化输出
下一篇:Python错误调试raise手工引发异常

The minute you think of giving up, think of the reason why you held on so long.