For Python2

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

For Python3

sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple/ --upgrade pip

* Windows 不区分 pip 和 pip3,通过更改环境变量 Path,使用 Python2 或 Python3

* Linux 区分 pip 和 pip3

05-13 10:31