After the success of apt-get instal pip, the upgrade was carried out according to the prompt of pip. After the upgrade, there was a problem with pip
In order to solve the above problems, manually install pip and execute the following commands in sequence
1
2
3
4
5
|
[root@minion01 Python-2.7.10]
# cd ..
[root@minion01 tools]
# wget https://bootstrap.pypa.io/get-pip.py
[root@minion01 tools]
# python get-pip.py
[root@minion01 tools]
# mv /usr/bin/pip /usr/bin/pip_bak
[root@minion01 tools]
# ln -s /usr/local/bin/pip2.7 /usr/bin/pip
|