IPython
安装
IPython
is
an
interactive
shell
for
the
Python
programming
language
that
offers
enhanced
introspection,
additional
shell
syntax,
tab
completion
and
rich
history.
系统信息如下:
[root@localhost
~]#
uname
-a
Linux
localhost.localdomain
2.6.18-164.el5
#1
SMP
Tue
Aug
18
15:51:54
EDT
2009
i686
i686
i386
GNU/Linux
[root@localhost
ipython-0.13]#
python
-V
Python
2.4.3
发现
python
是
2.4.3
版本的,先将其升级到
2.7.3。
[root@localhost
~]#
wget
http://python.org/ftp/python/2.7.3/Python-2.7.3.tgz
[root@localhost
~]#
tar
xvf
Python-2.7.3.tgz
[root@localhost
Python-2.7.3]#
./configure
[root@localhost
Python-2.7.3]#
make&&make
install
更改
python
默认版本
[root@localhost
~]#
cd
/usr/bin/
[root@localhost
bin]#
ls
|grep
python
##查看已安装的
python
python
python2