python2.6.6 升级 2.7.X

下载包

解压

cd 进入

./configure && make all && make install && make clean && make distclean

默认在/usr/local/bin/python 目录

ln -s 到/usr/bin/python 目录   ok

原文地址:https://www.cnblogs.com/shiyiwen/p/6293415.html