My guess is that you downloaded the Mac Binary distribution. You have to run it as a mac app with
open web2py.app if you want to run with your own python from command line, you must get the source distribution. On Feb 3, 11:48 pm, pbreit <[email protected]> wrote: > I am getting "No module named gluon.widget" when trying to run web2py from > the command line on a Mac. Double-clicking web2py.app works fine. Does > double-clicking the app add some sort of path? > > I have other versions of Python on my Mac. Should web2py be running off the > Python that comes in the download? How do I force it to run off that Python? > > Any ideas? > > Resources $ which python > /usr/bin/python > > Resources $ python web2py.py -h > Traceback (most recent call last): > File "web2py.py", line 16, in <module> > import gluon.widget > ImportError: No module named gluon.widget > > Resources $ python2.5 web2py.py -h > Traceback (most recent call last): > File "web2py.py", line 16, in <module> > import gluon.widget > ImportError: No module named gluon.widget

