If I get you right, you may find the below-mentioned thread useful. https://groups.google.com/group/web2py/browse_thread/thread/b6c0cf5d61d0c565/a40a34c4f91661bb?lnk=gst&q=eclipse#a40a34c4f91661bb (See the procedure by "Miguel Lopes" near the end of the above thread- link)
BTW, Thanks a lot Miguel Lopes for the comprehensive procedure writeup. It solved all my problems regarding web2py with Eclipse/PyDev --- Vineet On Oct 31, 5:14 pm, Tim Korb <jtk...@gmail.com> wrote: > Did you resolve this issue any further? I'm getting the same error in a > similar setting. I'm trying to run a shell script from within web2py. The > shell script launches python web2py to run an asynchronous background task. > The task fails with the same "import site" error message. > > If I start web2py from within Eclipse I get the error, if I start web2py > externally (in a shell), it works. > > Tim