Windos下PIP配置豆瓣源

C:\Users\liche\pip 下创建pip.ini文件

pip.ini

[global]
index-url = http://pypi.douban.com/simple
[install]
trusted-host=pypi.douban.com