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.
