python安装

1.下载python2.7,安装。比如安装到c:\python27\

2.设置环境变量,path,加入c:\python27\;c:\python27\scripts\

3.下载setuptools,解压。

4.运行cmd,进入setuptools目录,执行python ez_setup。

5.scripts目录下多了个easy_install,以后就用它安装其它包。也可以用pip,前提是用easy_install把pip给安装了。比如easy_install pip,完后目录下又多了pip,就也可用pip install 安装包了。

 

posted @ 2014-11-24 13:38  cdsj  阅读(138)  评论(0编辑  收藏  举报