On Wednesday, June 12, 2019 at 2:29:51 AM UTC-7, Annet wrote:
 

> [...]
> On Linux I ran the following code to install psycopg2
>
> export PATH=/usr/pgsql-9.1/bin/:$PATH
> mkdir -p ~/lib/python2.7
> easy_install-2.7 psycopg2
>
>
This isn't done as sudo?
 
 

> As far as I know Web2py will always use psycopg2 instead of pg8000 if 
> psycopg2 is installed.
>
>
The trick seems to letting web2py know it is installed in its local 
environment.

/dps
 

> I hope this helps you solve the issue.
>
>
> Kind regards,
>
> Annet
>
>
Thanks for your suggestions.

/dps
 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/d1dd4691-a100-44c7-8040-25eb604fc5ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to