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

已经安装了mysql-python,但是在import MySQLdb的时候一直提示错误题目所示错误

解决办法:

卸载重装mysql-python就好了

pip uninstall mysql-python
pip install mysql-python
posted @ 2020-10-16 17:08  蚂蚁iiiiiii  阅读(711)  评论(0编辑  收藏  举报