Skip to content

Instantly share code, notes, and snippets.

@cuckon
Created May 18, 2020 02:54
Show Gist options
  • Save cuckon/ecba242c70b6bbfdd5ac2c7757fefecf to your computer and use it in GitHub Desktop.
Save cuckon/ecba242c70b6bbfdd5ac2c7757fefecf to your computer and use it in GitHub Desktop.
pip set mainland repo
# 清华源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
# 或:
# 阿里源
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
# 腾讯源
pip config set global.index-url http://mirrors.cloud.tencent.com/pypi/simple
# 豆瓣源
pip config set global.index-url http://pypi.douban.com/simple/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment