|
Recently started learning Python using Linux management system, then download Ipython the tarball (0.11) installed, results suggest that low python version: 2.4, 2.6 and above versions need the job, so ask the prawn: cover the installation chant.
Here would like to share, I toss the process.
Download python 2.7.2: http: //www.python.org/getit/
First extract myself: tar jxvf Python-2.7.2.tar.bz2
# ./configure --prefix = / Usr / local / Python
# Make
# Make install
#ln -s / usr / local / Python / bin / python / usr / sbin / python
Enter python look version of it
[Root @ localhost Python-2.7.2] # python
Python 2.7.2 (default, Sep 6 2011, 20:35:35)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
You are not already upgraded to 2.7.2 Kazakhstan
Next, install Ipython 0.11
Download tarball: http://ipython.org/download.html
Decompression: # tar zxvf ipython-0.11.tar.gz
Ipython provides a script for installing, so directly execute scripts chant
# Python setup.py install
# Ln -s / usr / local / Python / bin / ipython / usr / sbin / ipython
[Root @ localhost ipython-0.11] # ipython
Python 2.7.2 (default, Sep 6 2011, 20:35:35)
Type "copyright", "credits" or "license" for more information.
IPython 0.11 - 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]:
Kazakhstan is not installed successfully, can not wait to try Ha |
|
|
|