Ask Your Question

EnvironmentError: mysql_config not found

asked 2010-07-24 15:01:09 -0600

theactiveactor's avatar

I'm getting this error upon installation using either easy_install or

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2010-07-24 16:48:15 -0600

Evgeny's avatar

updated 2010-07-24 19:55:42 -0600

Based on what I found by googling the title of your question - you might need to install libmysql-dev package.

If you are on centos then you can try:

yum install libmysql-dev

On ubuntu:

apt-get install libmysql-dev

You are right - a better manual for the pre-requisite installation would be great.

edit flag offensive delete link more


On recent Ubuntu versions the package libmysql-dev is not a valid choice anymore. Trying to install it on Ubuntu 11.04 I get this: unable to locate package libmysql-dev. In my case the EnvironmentError has gone installing libmysqlclient16-dev.
Guandalino's avatar Guandalino  ( 2011-07-26 16:03:24 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2010-07-24 15:01:09 -0600

Seen: 3,286 times

Last updated: Jul 24 '10