Server Installation Pip
Resources:
1, first say what is PIP
Pip is "A tool for installing and managing Python packages.", which means Pip is a Python software Installation tool
2, the following describes how to install PIP under Linux
Download Pip to/usr/local/src
# CD/USR/LOCAL/SRC
# wget "HTTPS://PYPI.PYTHON.ORG/PACKAGES/SOURCE/P/PIP/PIP-1.5.4.TAR.GZ#MD5=834B2904F92D46AAA333267FB1C922BB"-- No-check-certificate
If prompted:-bash:wget:command not found
Then install wget and do the following:
# yum-y Install wget
To extract the installation pip
# TAR-XZVF Pip-1.5.4.tar.gz
# CD pip-1.5.4
# python setup.py Install
If the installation reports the following error:
Traceback (most recent):
File "setup.py", line 6, <module>
From Setuptools import Setup, find_packages
Importerror:no module named Setuptools
Then we need to install the Setuptools package first.
(1) Download Setuptools package
# wget http://pypi.python.org/packages/source/s/setuptools/setuptools-2.0.tar.gz
(2) Unzip the Setuptools bag
# tar ZXVF setuptools-2.0.tar.gz
# CD setuptools-2.0
(3) Compiling setuptools
# python setup.py Build
(4) Start to perform Setuptools installation
# python setup.py Install
After the installation completes the Setuptools package, re-executes:
# cd/usr/local/src/pip-1.5.4
# python setup.py Install
The PIP installation is now complete
3, the use of Linux pip parameters
# pip--help
This article is from the "10931853" blog, please be sure to keep this source http://wujianwei.blog.51cto.com/10931853/1983214
Linux Server install PIP command