Install IPython3.0 on CentOS 6.5
1. Install Python2.7.8
Because Ipython only supports Versions later than Python2.7.8, you must first install Python2.7.8.
Download the source package https://www.python.org/downloads/release/python-278/ at the following address Python-2.7.8.tgz
1. decompress:
[Root @ CentOS_1 ~] # Tar xf Python-2.7.8
2. Go to the decompressed Python-2.7.8 folder and compile it:
[Root @ centos_1 Python-2.7.8] #./configure -- prefix =/usr/local/python2.7
3. make Installation
[Root @ centos_1 Python-2.7.8] # make & make
Ii. Install Ipython
1. Download Ipython
Download ipython's source code package ipython-3.0.0.tar.gz from URL: https://github.com/ipython/ipython/releases, the latest version is 3.0.
2. Unzip the installation package
[Root @ centos_1 tmp] # tar zxvf ipython-3.0.0
3. Install the readline-devel package
Before compiling and installing Ipython, make sure that the readline-devel package has been installed. Otherwise, IPython cannot be entered normally after the installation is complete;
[Root @ centos_1 ~] # Yum install readline-devel
3. Use Python2.7.8 for compilation and Installation
[Root @ centos_1 ipython-3.0.0] #/usr/local/python2.7/bin/python setup. py build
[Root @ centos_1 ipython-3.0.0] #/usr/local/python2.7/bin/python setup. py install
4. After the installation is complete, an IPython executable file is generated under the bin directory of Python2.7.8. For ease of use, connect IPython to the/usr/bin directory.
[Root @ centos_1 bin] # ln-sf ipython/usr/bin/ipython
[Root @ centos_1 ~] # Ipython
WARNING: IPython History requires SQLite, your history will not be saved
Python 2.7.8 (default, Mar 24 2015, 19:00:34)
Type "copyright", "credits" or "license" for more information.
IPython 3.0.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
% Quickref-> Quick reference.
Help-> Python's own help system.
Object? -> Details about 'object', use 'object ?? 'For extra details.
In CentOS 6.4, how does IPython start the Qt console and NoteBook?
Install IPython in CentOS 5
Install IPython 0.11 on CentOS and RHEL.
CentOS6.5 install Python2.7.8 and IPython
For details about IPython, click here
IPython: click here