转载链接:http://blog.csdn.net/my2010sam/article/details/18699173
1、安装Python开发包:sudo apt-get install python-dev
2、安装MySQL服务端、客户端及扩展包:
sudo apt-get install MysqL-server MysqL-clientlibMysqLclient-dev
3、安装python第三方库管理工具:sudo apt-get install python-setuptools
4、安装MysqL-python库:sudo easy_install MysqL-python
5、安装服务启动工具:sudo apt-get install sysv-rc-conf
原文链接:https://www.f2er.com/ubuntu/356319.html