Python包管理工具easy_install安装

安装方法有两种:

1. wget http://peak.telecommunity.com/dist/ez_setup.py 

然后python ez_setup.py

2. 按照官网的安装方法,根据python的版本,下载相应的egg,比如2.7就下载setuptools-0.6c11-py2.7.egg。

wget http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg#md5=fe1f997bc722265116870bc7919059ea

sh setuptools-0.6c11-py2.7.egg

将下载下来的egg文件当做shell脚本执行安装即可


安装完毕,即可通过 easy_install python-memcached 安装模块。

easy_install pip


你可能感兴趣的:(Python包管理工具easy_install安装)