Upgraded to Ubuntu 16.04 now MySQL-python dependencies are broken
Thank for Largaroth. If you use mysqlclient
on Ubuntu 16.04 and have error:ImportError: libmysqlclient.so.18: cannot open shared object file: No such file or directory
You can fix:
sudo -H pip uninstall mysqlclientsudo -H pip install --no-binary mysqlclient mysqlclient
I ended up finding the solution to my problems with pip install --no-binary MySQL-python MySQL-python
as stated in this thread : Python's MySQLdb can’t find libmysqlclient.dylib with Homebrewed MySQL
I had the same issue. I uninstalled and reinstalled MySQL-python:
pip uninstall MySQL-pythonpip install MySQL-python