yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel cyrus-sasl cyrus-sasl-devel
tar zxvf Python-2.7.3.tgzcd Python-2.7.3./configuremake && make install
tar zxvf Python-2.7.3.tgz
cd Python-2.7.3
./configure
make && make install