解决pip install 命令行安装包链接失败的问题

pip install * 总提示网络连接失败的情况下。。。(更换国内源,即可!)

 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")':

转载自:https://blog.csdn.net/Miracle0_0/article/details/96971984

NOTE:清华源。(亲测,可用!@2019年11月)

例如:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy

原文地址:https://www.cnblogs.com/yao-zhang/p/11945001.html