首页 > 代码库 > pip工具安装
pip工具安装
下载pip-1.5.4.tar.gz 源码包
[root@host ~]# wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb" --no-check-certificate
[root@host ~]# tar xf pip-1.5.4.tar.gz
[root@host ~]# ll -ld pip-1.5.4
drwxr-xr-x 7 501 games 4096 Dec 28 17:10 pip-1.5.4
[root@host ~]#
[root@host ~]# cd pip-1.5.4
[root@host pip-1.5.4]# ls
AUTHORS.txt build CHANGES.txt dist docs LICENSE.txt MANIFEST.in pip pip.egg-info PKG-INFO PROJECT.txt README.rst setup.cfg setup.py
[root@host pip-1.5.4]# python setup.py install
[root@host pip-1.5.4]#
.........................
Installing pip2 script to /usr/local/bin
Installed /usr/local/lib/python2.7/site-packages/pip-1.5.4-py2.7.egg
Processing dependencies for pip==1.5.4
Finished processing dependencies for pip==1.5.4
[root@host pip-1.5.4]#
[root@host pip-1.5.4]# which pip
/usr/local/bin/pip
[root@host pip-1.5.4]#
至此,pip工具安装完成!
本文出自 “平平淡淡才是真” 博客,请务必保留此出处http://ucode.blog.51cto.com/10837891/1886993
pip工具安装