The following forum message was posted by egorr at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4628477:

If it matters, I am running Mac OS X 10.6.8, Eclipse 3.7.0, and PyDev
2.2.1.2011071313.

I have a python script which uses a tool in my PATH. This location in my PATH
is added to the PATH in my .bash_profile.

When I create a PyDev project containing this script and debug it, I can do
a os.system( 'printenv' ) from the console and see that the location is not
in the PATH variable. So, as a result, the script fails.

My question is how can I get the same path within the Eclipse environment as
I have in the terminal?

I also have a few custom locations in my PYTHONPATH setup in .bash_profile as
well. How can I set them up within the Eclipse environment as well?

Thank you.

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to