Massimo,

I'll look at my server monday.  I just brought the w2p app to a
macbook pro, installed postgres 8.4.1, installed mod_wsgi and got
psycopg2 2.0.13 and it worked without an error.

Sorry for the hassle.

-wes

On Fri, Oct 9, 2009 at 4:17 PM, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to