I just upgraded my Ubuntu install to 16.04 and this seems to have broken my mysql dependencies in the MySQL-python package.
Here is my error message:
My problem was that I was using wheelhouse from old OS.
The problem was solved when I uninstalled/installed the package or updated wheelhouse...
From docs:
http://mysql-python.sourceforge.net/FAQ.html#importerror
This means you have a version of MySQLdb compiled against one version of MySQL, and are now trying to run it against a different version. The shared library version tends to change between major releases.
Solution: Rebuilt MySQLdb, or get the matching version of MySQL.
Steps:
search mysql path
which mysql
O/p : /opt/mysql/
create Symbolic Links to usr/lib
sudo ln -s /opt/mysql/lib/mysqlclient.so.20 /usr/lib
Note: mysqlclient.so.20 will be as per your version