pip 升级 pip

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

 

posted @ 2018-08-09 10:34  Anonymous596  阅读(157)  评论(0编辑  收藏  举报