PIPY Domestic Mirror currently has:
http://pypi.douban.com/Watercress
http://pypi.hustunique.com/Huazhong University of Technology
http://pypi.sdutlinux.org/Shandong University of Technology
http://pypi.mirrors.ustc.edu.cn/China University of Science and Technology
This is a convenient way to install the PIP online, but it's a terrible thing to do when the network is unstable. The use of domestic mirrors is relatively good,
If you want to specify the source manually, you can specify the source by following the PIP with-I, such as installing the web.py frame with the source of the watercress:
Pip Install Web.py-i http://pypi.douban.com/simple
Note that there is a/simple directory behind!!!
To be formulated as a default, you need to create or modify a configuration file (Linux files in ~/.pip/pip.conf,windows in%homepath%\pip\pip.ini), and modify the contents to:
Code
[Global]
Index-url = Http://pypi.douban.com/simple
Trusted-host=pypi.douban.com
Python Domestic mirror