I am trying to set an environment variable that will be accessible from both a GUI application (Pycharm) as well as from the Terminal. This variable is called PYTHONPATH.
I have tried
- Setting the system-wide PATH environment variable in Mavericks which doesn't help me because I have to set PYTHONPATH, not PATH
How to set system-wide environment variables on OS X Mavericks which gave me the idea to use
setenv PYTHONPATH ~/Documents/CrowdSurfer
doesn't seem to have the desired effect. Maybe I got the syntax wrong here?
Can anyone give me a step by step guide of how to do this correctly on Mavericks?