Linux: ~/.pip/pip.conf
windows: C:\Users\xx\pip\pip.ini
[global] index-url = http://pypi.douban.com/simple [install] trusted-host=pypi.douban.com