PIP Installation documentation for Ipython

Source: Internet
Author: User

Install Ipython First determine the Python version of the system itself I'm using PIP installation
Python-v View
Now generally use more than 2.7 version, if it is 2.6, you can upgrade
Upgrade steps online A lot, for instance
Download the Python source package online.
Tar XF python-2.7xx
CD python-2.7xx
Install some Ipython-dependent packages required
Yum-y Install zilb zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel
After installation.
./configure--prefix=/usr/local/python27 && make && make install
No problem with installation
Mv/usr/bin/python/usr/bin/python_old
And then make a soft link to the newly installed Python.
Ln-s/usr/local/python27/bin/python/usr/bin/python
And then
Python-v view version, should be no problem will show python2.7xx
Then install Setuptools because the PIP needs to be setuptools
Download an online
Tar XF setuptools-xx
CD SETUPTOOLS-XX
Python setup.py Build
Python setup.py Install
No problem with installation
Download a PIP source package (can be a random version, preferably 9.0)
I'm using the 7.1.0.
Tar XF pip-7.1.0.tar.gz
CD pip-7.1.0
Python setup.py Build
Python setup.py Install
Can be a soft link to pip because later may use other modules, can be downloaded with PIP
Ln-s/usr/local/python27/bin/pip/usr/bin/pip
Final installation Ipython
Pip Install Ipython
then automatically download and then appear a bunch of content
You are using the PIP version 7.1.0, however version 9.0.1 is available.
You should consider upgrading via the ' pip install--upgrade pip ' command.
This is the first two lines, prompting my version is not supported, must be 9.0.1, you can upgrade PIP with pip install--upgrade pip
Then execute pip install Ipython to install successfully.
And then make a soft link.
Ln-s/usr/local/python27/bin/ipython/usr/bin/ipython
Then Ipython will be able to enter the interactive interface.

Ipython
Python 2.7.12 (Default, Jan 23 2018, 04:49:00)
Type "Copyright", "credits" or "license" for more information.

IPython 5.5.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 [1]:

PIP Installation documentation for Ipython

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.