# 下载、编译和安装 Python 2.7.13 #wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz tar zxf Python-2.7.13.tgz cd Python-2.7.13 ./configure make && make install
# Install Python tar xf Python-2.7.13.tgz cd Python-2.7.13 ./configure make make install
# ImportError: No module named six.moves tar xf six-1.10.0.tar.gz cd six-1.10.0 python setup.py install cd ..
# ImportError: No module named packaging.version tar xf packaging-16.8.tar.gz cd packaging-16.8 python setup.py install cd .. # ImportError: No module named pyparsing tar xf pyparsing-2.2.0.tar.gz cd pyparsing-2.2.0 python setup.py install cd ..
# ImportError: No module named appdirs tar xf appdirs-1.4.3.tar.gz cd appdirs-1.4.3 python setup.py install cd ..
# Install Setuptools unzip setuptools-34.2.0.zip cd setuptools-34.2.0 python setup.py install cd ..
# Install pip tar xf pip-9.0.1.tar.gz cd pip-9.0.1 python setup.py install cd ..
# RuntimeError: Compression requires the (missing) zlib module yum install zlib zlib-devel -y cd Python-2.7.14 make make install
# pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. yum install openssl-devel -y cd Python-2.7.14 make make install