1.安装setuptools(下载链接可从https://pypi.python.org/pypi/setuptools#code-of-conduct寻找)
#Download setuptools-25.1.6.tar.gz wget --no-check-certificate https://pypi.python.org/packages/1f/7a/6b239a65d452b04ad8068193ae313b386e6fc745b92cd4584fccebecebf0/setuptools-25.1.6.tar.gz # Extract the files: tar -xvf setuptools-25.1.6.tar.gz cd setuptools-25.1.6 # Install setuptools using the Python 2.7.12: python2.7 setup.py install
2.安装pip
yum install openssl.x86_64 openssl-devel.x86_64 mod_ssl.x86_64
curl https://bootstrap.pypa.io/get-pip.py | python2.7 -