I found that importing modules in Web2py seems to be very complex:

http://web2py.com/book/default/section/4/18

I have a module in 'modules' and I do 'import modules.my_module' to
import the module in my application.

This is working fine with Eclipse Pydev because I have setup the
Python path for my application in Eclipse.

But outside Eclipse, it does not work because the path is not there.

Why should it be more complicated than that? I see this as a bug.

I will modify my application to add the path but I believe this is the
job of Web2py.

Reply via email to