pip更新一直time out 的解决方法

python -m pip install -U --force-reinstall pip

或者指定安装的镜像, 这里以安装numpy为例,运行pip install numpy -i http://pypi.douban.com/simple --trusted-host=pypi.douban.com 即可快速安装

速度很快!!!

原文地址:https://www.cnblogs.com/wfszmg/p/13654283.html