I've installed MySQL-python on mac with following procedure :
pip uninstall MySQL-python
brew install mysql
pip install MySQL-python
Then test it :
python -c "import MySQLdb"
When I test it, it gave me following error on my mac terminal :
ImportError: this is MySQLdb version (1, 2, 4, 'beta', 4), but _mysql is version (1, 2, 5, 'final', 1)
Please help me with this issue.
You can re-install your
MySQLdb-python
and install this version: MySQLdb-python-1.2.5