I replied with solved - I guess that breaks the google thread.  I
thought if the same subject was used the thread would keep - anyway, I
replied that I got it fixed.

thx,

-wes

On Tue, Dec 15, 2009 at 10:20 PM, mdipierro <[email protected]> wrote:
> are you running from source and using the same python version you used
> to install psycopg2?
>
> On Dec 15, 10:34 pm, Wes James <[email protected]> wrote:
>> 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.
>
>
>

--

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.


Reply via email to