Make sure mod_wsgi is running the same version of python that you have psycopg2 installed.
-Thadeus On Thu, Apr 1, 2010 at 1:48 PM, Richie <[email protected]> wrote: > I can import psycopg2 from a python shell, but I'm getting "NameError: > global name 'psycopg2' is not defined" when I try to access my default > controller. I'm setup with Apache and MOD WSGI. Anyone got any ideas? > > Thanks! > > Rich > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

