Library not loaded: @rpath/libmysqlclient.24.dylib Mac M3 #758
Unanswered
chenlydia
asked this question in
Build issue
Replies: 1 comment 1 reply
-
Because you didn't teach the right path. What is |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I tried to import MySQLdb but got error message as following:
I'm using M3 Macbookpro, OS: Sonoma 14.3
I installed mysqlclient in the directory /Volumes/develop/Application/anaconda3/envs/chatchat/lib/python3.10/site-packages/
and mysql v8.4.0 in the directory /usr/local/mysql
I set PKG_CONFIG_PATH=/usr/local/mysql/lib/pkgconfig
The library libmysqlclient.24.dylib is under the mysql installed directory but mysqlclient seems to search wrong paths.
Beta Was this translation helpful? Give feedback.
All reactions