You can insert env variables by going to the external console plugin, then selecting its options menu (the second button from right to left) and finally selecting the option "Environment variables".

This will open a new window. To define a new variable, make left click on it, then select "Edit" and lastly add the variable's name and value.

Hope it helps,
Carlos

El 04/02/13 12:13, Jeff Webster escribió:
The dev environment is Ubuntu 12.04 (if it matters, it is running virtualized in a Mac OS X 10.8 host). If I run a Python module from the command line (after exporting LD_LIBRARY_PATH=/opt/xapi/lib, the location of the SO in question), everything operates as expected. However, running the same module from within Spyder fails:

    OSError: libxapi.so: cannot open shared object file: No such file
or directory

Where does Spyder pick up the appropriate environment variables? I've tried adding to PYTHONPATH manager from within the IDE, but that doesn't help.

Thanks for the help...
JW
--
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?hl=en.
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to