Change Pip Source

- 1 min

Ref: https://blog.csdn.net/chenghuikai/article/details/55258957

Temporary Way

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

Long-term Way

modify ‘~/.pip/pip.conf’:

[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple

Chinese Pip Image

阿里云 http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

豆瓣(douban) http://pypi.douban.com/simple/

清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/

中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

Kaixin Yang

Kaixin Yang

Keep on going.

rss facebook twitter github gitlab youtube mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora quora