ImportError: libmysqlclient.so.18: cannot open shared object file: No such file or directory

错误的原因是未能引入libmysqlclient.so.18库,
查找库文件存在,于是建立链接:
ln -s /usr/local/server/mysql/lib/libmysqlclient.so.18 /usr/lib/libmysqlclient.so.18
问题解决。

你可能感兴趣的:(ImportError: libmysqlclient.so.18: cannot open shared object file: No such file or directory)