1. 用easy_install安装吧
[root@host python]# easy_install IPython Searching for IPython Reading https://pypi.python.org/simple/IPython/ Best match: ipython 4.0.0 Downloading https://pypi.python.org/packages/source/i/ipython/ipython-4.0.0.zip#md5=0ba5dff36c5bf40ee383d9eb93f0d6d4 Processing ipython-4.0.0.zip Writing /tmp/easy_install-JtlzBO/ipython-4.0.0/setup.cfg Running ipython-4.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JtlzBO/ipython-4.0.0/egg-dist-tmp-EexLav checking package data Adding ipython 4.0.0 to easy-install.pth file ....... Reading https://pypi.python.org/simple/setuptools_scm/ Best match: setuptools-scm 1.9.0 Downloading https://pypi.python.org/packages/source/s/setuptools_scm/setuptools_scm-1.9.0.tar.gz#md5=020e097756c4fd67a0f4518cac0ff190 Processing setuptools_scm-1.9.0.tar.gz Writing /tmp/easy_install-32EkS0/path.py-8.1.2/temp/easy_install-Bt0ay2/setuptools_scm-1.9.0/setup.cfg Running setuptools_scm-1.9.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-32EkS0/path.py-8.1.2/temp/easy_install-Bt0ay2/setuptools_scm-1.9.0/egg-dist-tmp-q61Rju Installed /tmp/easy_install-32EkS0/path.py-8.1.2/setuptools_scm-1.9.0-py2.7.egg your setuptools is too old (<12) setuptools_scm functionality is degraded zip_safe flag not set; analyzing archive contents... Adding path.py 8.1.2 to easy-install.pth file Installed /usr/lib/python2.7/site-packages/path.py-8.1.2-py2.7.egg Finished processing dependencies for IPython
2.小测来了
[root@host python]# ipython Python 2.7.5 (default, Jun 17 2014, 18:11:42) Type "copyright", "credits" or "license" for more information. IPython 4.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.