pip installation source is provided

Some pip domestic mirror

  Ali cloud  http://mirrors.aliyun.com/pypi/simple/ 
  China University of Science and Technology  https://pypi.mirrors.ustc.edu.cn/simple/ 
  watercress (douban)  http://pypi.douban.com/simple / 
  Tsinghua  https://pypi.tuna.tsinghua.edu.cn/simple/ 
  University of Science and technology of China  http://pypi.mirrors.ustc.edu.cn/simple/

Modify the source method:

1) Temporary entry into force

-I can be followed by the parameter specifies the source pip pip in the use of 
EG: -i pip the install jieba  https://pypi.tuna.tsinghua.edu.cn/simple

 

2) permanent:

mkdir ~/.pip
the ~ / .pip / pip.conf

 

 

View results:

 

 Installed above ws4py download source from Tsinghua University, the speed very quickly.

 

Reprinted from: https: //blog.csdn.net/yuzaipiaofei/article/details/80891108

Guess you like

Origin www.cnblogs.com/passedbylove/p/12115232.html