gluon is the main library of web2py (and what you are more likely to import from another python app).
for the script to have access to the gluon library/package you should start the script from the web2py source folder In a linux console: (with superuser rights) cd <web2py folder> ./setup.py On Mar 13, 8:18 pm, David Wong <davidwong...@hotmail.com> wrote: > Hi, I'm trying to install the web2py source code so I can import the > modules from any Python program. > > But I'm having trouble. The setup.py for web2py itself seems to > require imports from web2py modules. I'm not sure how to install the > libraries so they appear on my Python path. > > Thanks for any help.