pypi mirroring Help
pypi mirror synchronization once every 5 minutes.
temporary use
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
Note, simple
no less, is https
not the http
set as Default
After configuring pip upgrade to the latest version (> = 10.0.0):
pip install pip -U
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
If you pip default source to a poor network connection, using the temporary station to upgrade mirror pip:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pip -U