ubuntu 安装软件时经常不成功,常见的如;pip install --upgrade pip时,提示错误:
ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org‘, port=443): Read timed out
解决办法:加 --default-timeout=1000
即pip install --upgrade pip --default-timeout=1000安装
2022-08-05 22:37:48
ubuntu 安装软件时经常不成功,常见的如;pip install --upgrade pip时,提示错误:
ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org‘, port=443): Read timed out
解决办法:加 --default-timeout=1000
即pip install --upgrade pip --default-timeout=1000安装