2013-06-06

Installing MySQL driver in VirtualEnv

If "pip install mysql-python" fails in a virtualenv with the following errors:

1.  missing python.h
2.  missing mysql_config

try install the following first:

$ sudo apt-get install python-dev
$ sudo apt-get install libmysqlclient-dev



No comments: