In order to correctly install mysql bindings in a Django virtualenv you need:
First install some Ubuntu dependencies:
Then create the virtual env and install the python packages:
I was missing the `libmysqlclient-dev` package and I was getting a `EnvironmentError: mysql_config not found` when running the `pip install mysql-python`.
First install some Ubuntu dependencies:
Then create the virtual env and install the python packages:
I was missing the `libmysqlclient-dev` package and I was getting a `EnvironmentError: mysql_config not found` when running the `pip install mysql-python`.