Install Python 2.7 on Centos 6.6
Python 2.7.5 is easy:
yum install -y centos-release-SCL yum install python27 scl enable python27 bash python --version
Python 2.7.8 is just a little more involved. It differs because the official SCL package is 2.7.5. The 2.7.8 package is an approved and 'community supported' version.
More info here: https://www.softwarecollections.org/en/scls/rhscl/python27/
yum install scl-utils yum install 'https://www.softwarecollections.org/en/scls/rhscl/python27/epel-6-x86_64/download/rhscl-python27-epel-6-x86_64.noarch.rpm' yum install python27 scl enable python27 bash python --version
Note that system python is still python 2.6.6 You'll need to issue the scl enable python27 bash command every time you want to get the environment to use python 2.7 instead of 2.6.












