CentOS7 installation Ipython

Source: Internet
Author: User

CentOS7 Installation Ipython

Introduced

  IPython 是一个 python 的交互式 shell,比默认的python shell 好用得多,支持变量自动补全,自动缩进,支持 bash shell 命令,内置了许多很有用的功能和函数。    IPython 是基于BSD 开源的。IPython 为交互式计算提供了一个丰富的架构,包含:  1、强大的交互式 shell  2、Jupyter 内核  3、交互式的数据可视化工具  4、灵活、可嵌入的解释器  5、易于使用,高性能的并行计算工具

Installing Ipython
First, PIP installation Ipython

1、首先检查linux有没有安装python-pip包。        [[email protected]]# yum -y install python-pip       如果出现有 "No package python-pip available" , "Error:Nothing to do",       说明linux没有安装python-pip包。2、没有python-pip包就执行命令          [[email protected]]# yum -y install epel-release  #(安装Linux的epel的yum源)。3、再次对 python-pip  进行安装。       [[email protected]]# yum -y install python-pip4、对安装好的pip进行升级        [[email protected]]# pip install --upgrade pip5、对IPython进行安装        [[email protected]]#pip install ipython。

Second, the compression package installation Ipython

1、下载ipython安装包        1)先切换到此路径下:        cd /usr/local/scr        2)使用wget命令进行下载:        wget https://pypi.python.org/packages/79/63/b671fc2bf0051739e87a7478a207bbeb45        cfae3c328d38ccdd063d9e0074/ipython-6.1.0.tar.gz#md5=1e15e1ce3f3f722da6935d7ac0e513462、安装ipython        1)解压下载好的安装包。                [[email protected]]# tar xf ipython-6.1.0.tar.gz        2)切换到此路径下。                [[email protected] src]# cd ipython-6.1.0        3)安装IPytion。                [[email protected] ipython-6.1.0]# python3 setup.py install

Third, in the installation process encountered a bug, you can use the following methods to resolve.

Setup script exited with error: command ‘gcc‘ failed with exit status 1出现bug原因:由于没有正确安装Python开发环境导致。系统环境是Centosyum install python-develyum install libevent-develeasy_install gevent或者pip install gevent把环境更新下sudo yum install groupinstall ‘development tools‘

CentOS7 installation 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.