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 mysqlclient

sudo -H pip install --no-binary mysqlclient mysqlclient

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)