Ubuntu下安装mysql-python包

 

sudo apt-get install libmysqld-dev

sudo apt-get install libmysqlclient-dev

sudo apt-get install python-dev

sudo pip install mysql-python

 

参考链接 http://www.cnblogs.com/coser/archive/2012/01/11/2319125.html

 

centos:

yum install python-devel mysql-devel

posted on 2014-10-09 11:04  李皮筋  阅读(636)  评论(0编辑  收藏  举报

导航