pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Read timed out.解决方法
pip install 模块名
在我们下载模块时会经常碰到这个错误,这是因为很多模块需要到外网中下载,服务器响应时间较长。
解决方法
增加服务器默认响应时间阈值,延长响应时间。
pip --default-timeout=1000 install 模块名
下图显示已经运行成功。