Last active
December 24, 2020 02:09
-
-
Save alexisrolland/cf9ad2640b44be502ec6115e7badfbcb to your computer and use it in GitHub Desktop.
Commands used to update pip mirrors to use one located in China. Commands below were tested in a Docker container built with image python:3.6.6-slim-stretch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Found on https://mirrors.ustc.edu.cn/help/pypi.html | |
pip install -i https://mirrors.ustc.edu.cn/pypi/web/simple pip -U | |
pip config set global.index-url https://mirrors.ustc.edu.cn/pypi/web/simple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment