关于 pip安装其他库时,超时报错的问题解决办法:
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
由于使用国内镜像安装网络速度过慢,导致安装超时,直接就报错退出了。
解决办法:
--default-timeout =自己想设定的时间
pip install --default-timeout=1000 pymysql
时间可自己定,如果还安装不了,就设定更长的时间