MYSQL-python Install EnvironmentError: mysql_config not found

Solution:

sudo apt-get install libmysqlclient-dev

Then goto the path of mysql_config (/usr/bin/mysql_config)

sudo updatedblocate mysql_config
Then reinstall, it’s ok~


Read More: