win7 py pip安装一直超时

 pip更新版本一直下载超时 

   使用清华镜像很快好了。

  https://blog.csdn.net/mature222/article/details/53559794/

唯爱丶梦 2018-07-25 16:52:40#2楼
被墙了,下载10%以后提醒超时连接断开了,使用下面方法就好了 在Windows下: C:\Users\Administrator\下新建pip文件夹,在创建pip.ini文件,拷贝下面代码进去,保存
[java]  view plain  copy
 
  1. [global]  
  2. index-url = https://pypi.tuna.tsinghua.edu.cn/simple  

猜你喜欢

转载自www.cnblogs.com/sun-shadow/p/9458234.html