Ask Your Question
1

EnvironmentError: mysql_config not found

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

theactiveactor gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

Evgeny gravatar image

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

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 gravatar imageGuandalino ( 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

Stats

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

Seen: 1,568 times

Last updated: Jul 24 '10