Current Python version is 2.4...
yum upgrade python
Could not find update match for python
Do I have to install from source?
Yes, you need to install from source, you can use the following:
This will install Python 2.5 as the command python2.5, as yum and other parts of CentOS require the old Python 2.4, so you will have two versions of Python installed.
The command should be the following (according to the README for 2.7)
See the "Installing multiple versions" section in the README.
I had this error with ./configure
so, I installed these packages
then, it works ;)