Are you using source or binary? the binary version does not see your modules. You should use source.
On Oct 9, 4:52 pm, Wes James <compte...@gmail.com> wrote: > I changed the db source in db.py from sqlite to postgres and I get: > > NameError: global name 'psycopg2' is not defined > > If I run python I can import psycopg2. > > I notice that when I run w2p from the cli it says it sees sqlite, but > it does not say that it sees postgres. > > ?? > > thx, > > -wes --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---