1 raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
sudo apt-get install libmysqlclient-dev
2. 再次执行, python-MySQL库安装
sudo pip install mysql # or
apt-get install python-mysqldb
1 raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
sudo apt-get install libmysqlclient-dev
2. 再次执行, python-MySQL库安装
sudo pip install mysql # or
apt-get install python-mysqldb