Skip to main content

Install mysql-python with mariadb

mysql-python requires libmysqlclient-dev in ubuntu, but the installation of mariadb will have the lib with unmet dependenccies, so the error of "mysql_config not found" may occurred if you install mysql-python via pip.

The case is that mariadb has a compatible package, if you have the ppa setup as in http://downloads.mariadb.org/. Just "sudo apt-get install libmariadbclient-dev".

Comments

Unknown said…
Greate! Thanks!