On 3/17/07, Lee Connell <lee_connell@...> wrote:
> while using pydev my imports are all working fine, however I have an issue
> when I turn my program from terminal. It complains that it can't find any
> of my imports, I am missing something and just don't know what.
> My directory structure is:
> in mymain.py I am importing like this "from server.modules import
> somemodules" and pydev is totally fine with this, however when I run my
> from terminal it says:
> "Failed to load application: No module named server.modules.somemodules"
Your pythonpath in the terminal is probably not the same as in pydev... you
have to set the PYTHONPATH variable to add the paths that are in your
project pythonpath -- when running from pydev it does that automatically...