ubuntu安装python的mysqlclient 一、 apt-get install libmysqlclient-dev apt-get install python-dev pip install mysqlclient 二、