Error loading MySQLdb module: libmysqlclient.so.20: cannot open shared object file: No such file or directory

后端 未结 6 891
被撕碎了的回忆
被撕碎了的回忆 2021-02-04 04:02

I had a running django project and for some reasons I had to remove the current mysql version and install a different MySQL version in my machine.

But now when I am try

6条回答
  •  情歌与酒
    2021-02-04 04:32

    I did fix the same issue via setting below environment variable:

    export LD_LIBRARY_PATH=/usr/local/mysql/lib
    

提交回复
热议问题