I run a small Django app on Dreamhost and after the recent upgrades to Ubuntu 12.04 I was getting an error stating:
Improperly configured: Error loading MySQLdb module: libmysqlclient_r.so.16: cannot open shared object file: No such file or directory
I had everything running within a virtual environment so I could not understand why this error occurred.
I found that the solution was simply uninstalling, then reinstalling the MySQL libraries!
pip uninstall MySQL-python
pip install MySQL-python
Make sure that you are within your virtual environment of course!