新装的ubuntu16,自带的python2.7,使用pip升级后,报错,修改记录如下:
如何彻底卸载pip?
sudo python -m pip uninstall pip
如何安装pip
sudo apt install python-pip
如何安装指定版本的pip
python -m pip install pip==18.1(换成你想要的版本编号)
pip安装软件过程中报错:
Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-BqMhb7/matplotlib/
- 安装并升级setuptools
pip install –upgrade setuptools - 升级pip
pip install –upgrade pip
pip升级后报错
1 | Traceback (most recent call last): |