MySQLdb报错解决
Library not loaded: libmysqlclient.18.dylib _mysql.so image not found
解决方法:
sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib
sudo ln -s /usr/local/mysql/lib /usr/local/mysql/lib/mysql
o(╯□╰)o (゜-゜)つロ o(╯□╰)o
Library not loaded: libmysqlclient.18.dylib _mysql.so image not found
解决方法:
sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib
sudo ln -s /usr/local/mysql/lib /usr/local/mysql/lib/mysql