More specific error: NameError: global name 'psycopg2' is not defined
On Tue, Dec 15, 2009 at 9:31 PM, Wes James <[email protected]> wrote: > I have been trying to get web2py to work with > apache2/mod_wsgi/postgresql via psycopg2. I keep getting a ticket > that pycopg2 can't be found. > > I then run sudo -u user python and try to import psycopg2 and it comes > up with import error access denied to /var/root/.python-eggs and says > to change the PYTHON_EGG_CACHE. So I did that but it still wants to > go to /var/root/.python-eggs. > > So I see that it is try to write to the cache but can't. > > I ran web2py -M -a <recycle> -p someport and -i someIP and all works fine. > > Does someone know how to get the psycopg2 part working with wsgi? > > 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 [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.

