Skip to content

PyPi Tsinghua source

Written by

Nauxniqnah

Pypi mirror is synchronized every 5 minutes.

Temporary use

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package

Temporary use official source

pip install -i https://pypi.Python.org/simple/

Set as default

Upgrade pip 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 the network connection to the default source of pip is poor, you can temporarily use this mirror station to upgrade pip:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pip -U

Previous article

Install Tensorflow-GPU

Next article

Publish your own project on PyPi

Join the discussion

Leave a Reply

Your email address will not be published. Required fields are marked *