Happy to say all I had to do was pip install --user pg8000.

On Sunday, 18 November 2018 18:46:35 UTC, jonatha...@whatho.net wrote:
>
> Hi,
>
> In the past I have successfully used driver pg8000 to access postgresql 
> databases via the DAL. I have a live application now using web2py 2.16.1 
> and it works fine. I'm just trying to deploy a new application, and by 
> default I used the latest version of web2py i.e. 2.17.2 and it fails with 
> message "RuntimeError: No driver of supported ones ('psycopg2',) is 
> available". Has there been some change between 2.16.1 and 2.17.2 in the 
> area of postgresql drivers? I can't see any information about it in the 
> change log.
>
> I'm a bit limited in what changes I can make because this is a shared 
> hosting environment. For example I don't have access to the 
> 'build-essential' tools, and "pip install psycopg2" isn't working. The 
> hosting service people are quite good about installing extra software when 
> I need it, but it's a hassle to go through and takes time. Before I go that 
> route, should I assume pg8000 has been removed from web2py in the latest 
> version.
>
> Thanks,
> Jonathan
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to