Skip to content

Instantly share code, notes, and snippets.

@01x01
Last active January 31, 2019 11:19
Show Gist options
  • Save 01x01/b7e5f4c6d117d263e0c796b3a7ab5b76 to your computer and use it in GitHub Desktop.
Save 01x01/b7e5f4c6d117d263e0c796b3a7ab5b76 to your computer and use it in GitHub Desktop.
*unix: ~/.pip/pip.conf
Windows: C:\Users\xx\pip,新建文件pip.ini
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
// 如果是http需要加以下语句:
trusted-host = mirrors.aliyun.com
// 国内源
阿里云 :http://mirrors.aliyun.com/pypi/simple/
中国科技大学:https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban):http://pypi.douban.com/simple/
清华大学:https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学:http://pypi.mirrors.ustc.edu.cn/simple/
---------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment