Install ipython on CentOS

Source: Internet
Author: User
Ipython is a python interactive shell, which is much easier to use than the default pythonshell. it supports variable auto-completion, automatic indentation, and bashshell commands. It has built-in many useful functions and functions to install the environment system: centOs6.4

Ipython is a python interactive shell, which is much easier to use than the default python shell. it supports automatic completion of variables, automatic indentation, and bash shell commands. it has many built-in useful functions and functions.

Installation environment

System: CentOs6.4

Python version: Python-2.7.10

Ipython: ipython-1.2.1

 

1. yum-y install readline-devel install readline Development Kit

2../configure -- prefix =/usr/local/python27 install python27 in the specified directory

3. make & make install

4./usr/local/python27/bin/python2.7 setup. py build to compile ipython

5./usr/local/python27/bin/python2.7 setup. py install ipython

6. ln-sv/usr/local/python27/bin/python2.7/usr/bin/python27 link python to the/usr/bin directory.

7. ln-sv/usr/local/python27/bin/ipython/usr/bin/link ipython to the/usr/bin directory.

8. installation successful

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.