首先下載并安裝setuptools:
wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py
sudo python ez_setup.py --insecure
再到python官網下載pip安裝包,解壓到某個位置,我這里下載的是9.0.1版本,然后就可以安裝了:
cd pip-9.0.1
sudo python setup.py install
首先下載并安裝setuptools:
wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py
sudo python ez_setup.py --insecure
再到python官網下載pip安裝包,解壓到某個位置,我這里下載的是9.0.1版本,然后就可以安裝了:
cd pip-9.0.1
sudo python setup.py install