Skip to content Skip to sidebar Skip to footer

Yosemite: Python MySQLlib Issue - 'no Suitable Image Found'

Trying to figure out why MySQLlib is not working on my installation. Here's the error from a script which tries to import it: Traceback (most recent call last): File 'test.py', lin

Solution 1:

Solved it. I needed to specify the actual path, not the filename - I tried:

export DYLD_LIBRARY_PATH=/Applications/mampstack-5.4.36-0/mysql/lib/ 

Rather than:

export DYLD_LIBRARY_PATH=/Applications/mampstack-5.4.36-0/mysql/lib/libmysqlclient.18.dylib

Post a Comment for "Yosemite: Python MySQLlib Issue - 'no Suitable Image Found'"