官网下载Python-2.7.3.tgz
./configure --prefix=/usr/local/python27
make && make install
cp -a /usr/local/python27/bin/python2.7 /usr/bin/python
vim /usr/bin/yum > /usr/bin/python2.6
官网下载pip-8.1.2
python setup.py install
pip -V
官网下载Python-2.7.3.tgz
./configure --prefix=/usr/local/python27
make && make install
cp -a /usr/local/python27/bin/python2.7 /usr/bin/python
vim /usr/bin/yum > /usr/bin/python2.6
官网下载pip-8.1.2
python setup.py install
pip -V