Upgraded to Ubuntu 16.04 now MySQL-python dependencies are broken

后端 未结 8 507
误落风尘
误落风尘 2021-01-01 10:26

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:



        
8条回答
  •  甜味超标
    2021-01-01 10:33

    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
    

提交回复
热议问题