本章以python2.6为例,安装还是蛮简单的
1,下载setuptools-0.6c11-py2.6.egg
wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg#md5=bfa92100bd772d5a213eedd356d64086
 
2,安装setuptools-0.6c11-py2.6.egg
sh setuptools-0.6c11-py2.6.egg
 
3,使用easy_install安装python扩展
easy_install redis
easy_install mysql-python