pipy國內鏡像目前有:
http://pypi.douban.com/ 豆瓣
http://pypi.mirrors.ustc.edu.cn/ 中國科學技術大學
安裝時,使用-i參數
pip install web.py -i http://pypi.douban.com/simple
注意后面要有/simple目錄!!!
要配制成默認的話,需要創建或修改配置文件(linux的文件在~/.pip/pip.conf,windows在%HOMEPATH%\pip\pip.ini),修改內容為:
[global]
index-url = http://pypi.douban.com/simple
這樣在使用pip來安裝時,會默認調用該鏡像。
更多配置參數見:http://www.pip-installer.org/en/latest/configuration.html
