pip: command not found

hao810發表於2018-03-20

解決辦法:

1.wget “https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb”  –no-check-certificate

2.tar -xzvf pip-1.5.4.tar.gz -C /usr/local/

3.cd /usr/local/pip-1.5.4/

4.python setup.py install   執行報錯

5.wget htttps://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz

6.tar -zxvf setuptools-0.6c11.tar.gz -C /usr/local/

7.python setup.py build

8.python setup.py install

9.cd /usr/local/pip-1.5.4/

10.python setup.py install

pip安裝完成。

相關文章