Centos6.6安装IPython3.0
时间:2015-03-30 20:37 来源:linux.it.net.cn 作者:IT
[root@centos_1 ~]# tar xf Python-2.7.8
[root@centos_1 Python-2.7.8]# ./configure --prefix=/usr/local/python2.7
[root@centos_1 Python-2.7.8]# make && make
[root@centos_1 tmp]# tar zxvf ipython-3.0.0
[root@centos_1 ~]# yum install readline-devel
[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
[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.
(责任编辑:IT)
(责任编辑:IT) |