Upgraded to Ubuntu 16.04 now MySQL-python dependencies are broken

后端 未结 8 511
误落风尘
误落风尘 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:56

    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.

提交回复
热议问题