找到python安装目录下的:\Lib\site-packages\pip\models\index.py文件,将PYPI的值改为你所需要的源即可,例如改为豆瓣的源。

PyPI = Index('https://pypi.douban.com/')

 

posted on 2017-08-04 15:39  lemonlemontree  阅读(746)  评论(0编辑  收藏  举报