pip 使用豆瓣源
2017-05-09 本文已影响164人
Rick____
官方源速度惨不忍赌!由于深受pip 安装django耗费多个小时的问题。简直无法忍受,下面贴出pip 使用豆瓣源来解决pip下载缓慢的问题。这速度比官方源快的多了。感谢豆瓣。
- mkdir ~/.pip
- vim ~/.pip/pip.conf写上
- 添加以下内容
[global]
index-url = http://pypi.douban.com/simple```
