The CentOS6.6 comes with a python of 2.6, which is the latest Python2.7.9 to install version 2
First, download python2.7.9 and ipython3.1.0
wget Https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tar.xzwget https://pypi.python.org/packages/source/i/ Ipython/ipython-3.1.0.tar.gz
Second, the installation of Readline-devel, so that the Python installation after completion of support for the BACKSPACE
Yum-y Install Readline-devel
Third, the installation of GCC, or the configuration will be error, resulting in failure to install
Yum-y Install GCC
Iv. installation of python2.7.9
Tar zxvf python-2.7.9.tar.xzcd python-2.7.9./configure--prefix=/usr/local/pythonmake && make INSTALLLN-SV/ usr/local/python/bin/python2.7/usr/bin/python279
V. Installation of ipython3.1.0
Tar zxvf ipython-3.1.0.tar.gzcd ipython-3.1.0python279 setup.py buildpython279 setup.py Installln-sv/usr/local/python /bin/ipython/usr/bin/
Six, Python2.7.9 and Ipython can be used normally
This article is from "Xiao Yang" blog, please be sure to keep this source http://princepar.blog.51cto.com/1448665/1643888
CentOS6.6 Installing Python and Ipython