windows ipython安装

windows ipython安装

废话一句,ipython是python shell的增强版,支持语法高亮,1.2.0不再需要pyreadline模块。

基本软件:python3.3.4,、pypa-setuptools、ipython1.2.0

1、安装python3.3.4,一路next,不述。默认路径为 C:\Python33

2、首先安装setuptools,因为ipython安装时会首先调用该模块:

cmd下cd到setuptools目录下,执行python setup.py install

完成后,cd到ipython的目录下,执行python setup.py install

3、设置ipython的环境变量,在path内加入C:\Python33\Scripts,一直确定,退出。

4、特别注意,重新打开cmd,输入ipython,然后回车会报错,这是为什么呢?

打开C:\Python33\Scripts会发现,ipython的程序名是ipython3.exe。所以

C:\>ipython3

Python 3.3.4 (v3.3.4:7ff62415e426, Feb 10 2014, 18:12:08) [MSC v.1600 32 bit (In

tel)]

Type "copyright", "credits" or "license" for more information.

IPython 1.2.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.

推荐两本不错的学习python的书籍:《Python for Unix and Linux System Administration》和《Learning Python》英文原版的。

版权声明:本文为博主原创文章,未经博主允许不得转载。

你可能感兴趣的:(windows ipython安装)