system: centos6.2 x64
1. 下载MySQLdb
wget http://jaist.dl.sourceforge.net/project/mysql-python/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz
2. 安装
解压,然后cd到解压目录
python setup.py build
python setup.py install
我已安装了一些环境(pip,setuptools,python-devel,Mysql...),所以正常安装了,需要主要python-devel、mysql-devel等依赖。