1

EnvironmentError: mysql_config not found

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

theactiveactor's avatar
167
theactiveactor
asked 2010-07-24 15:01:09 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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.

Evgeny's avatar
13.2k
Evgeny
updated 2010-07-24 19:55:42 -0500, answered 2010-07-24 16:48:15 -0500
edit flag offensive 0 remove flag delete link

Comments

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 -0500) edit
add a comment see more comments