This error is probably generated because Spyder can't find its own
libraries (like Qt, PyQt and libzmq) in the DYLD_LIBRARY_PATH you set.
Instead of just setting one path, I think you need extend it like so:
launchctl setenv DYLD_LIBRARY_PATH
/Applications/MAMP/Library/lib:$DYLD_LIBRARY_PATH
See this post
http://stackoverflow.com/questions/5081574/modifying-dyld-library-path-for-mysql-python-and-django
for more details.
Cheers,
Carlos
El 10/10/13 16:30, oren escribió:
I'm using MacOS 10.8, python 2.7.2 and Spyder 2.2.1
I'm trying to use MySQLdb in Spyder, but its python session refuses to
locate a dynamic library (libmysqlclient.18.dylib).
The solution for this, of course, is to set DYLD_LIBRARY_PATH. But the
envvar has to be set before loading Spyder (and not after the python
session is open).
The only way to do it in OS 10.8 is to configure launchd. However,
when I do it, by running this command:
launchctl setenv DYLD_LIBRARY_PATH /Applications/MAMP/Library/lib
Spyder doesn't load (it crashes immediately, before the splash screen).
Are you aware of this problem? Is there a workaround?
Thanks
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.