Does the sys.path looks right to you?
In [10] : showpath() "['', '/home/www-data/web2py/gluon', '/home/www-data/web2py/site-packages', '/home/www-data/web2py', '.', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client']" On Tuesday, May 20, 2014 4:28:17 AM UTC-6, Alan Etkin wrote: > > > >> 2) sudo pip which put all the unzipped pymongo files in the >> /usr/local/lib/python2.7/dist-packages/ folder with root:staff ownership >> and everyone "r" privileges. >> > > Odd, this should make the driver available for web2py. For debugging, > perhaps you can check that the driver folder is included in sys.path when > web2py runs. Make a simple controller to output sys.path (or else use the > logging package): > > def showpath(): > import sys > return str(sys.path) > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

