I wasted too much time trying to make MySQLdb work with Python 2.5 (mysteriously it worked fine with 2.7). I thought I'll share my experience.
I installed MySQLdb normally with pip install MySQL-python
(yeah,
ingenious name) and there were no problems. But every time I imported
it, I got following error: