pip 第三方库的时候超时解决方案,报错:pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
报错如下解决方案如下:
就是在pip install XXX,后面再加上 pip install xxx --default-timeout=1000
既然无论如何时间都会过去,为什么不选择做些有意义的事情呢