python-easy_install【安装其他模块】

Python中的easy_install工具很爽,它的作用类似于Php中的pear,或者Ruby中的gem,或者Perl中的cpan。 
如果想使用easy_install工具,可能需要先安装setuptools,不过更酷的方法是使用ez_setup.py脚本: 

【python 的执行文件在】

[[email protected]]$which python
/usr/ali/bin/python
【python的安装目录在】

/usr/local/python-2.7.2/

【安装setupTools】

wget -q http://peak.telecommunity.com/dist/ez_setup.py 
python ez_setup.py 

【使用easy_install】

easy_install cherrypy 

不过,需要注意查找的关键字。

比如要安装图像模块,虽然有这个类是Image,但是搜easy_install Image没有结果。搜easy_install PIL可以。

python 模块篇:

http://man.lupaworld.com/content/manage/ringkee/module.htm

你可能感兴趣的:(python,image,脚本,perl,Ruby,工具)