本章以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