标签 Linux 下的文章

//首先要安装sqllient库
sudo apt-get install libmysqlclient-dev
//其次安装python-dev
sudo apt-get install python-dev
最后安装python mysql库
sudo pip install MySQL-python