Database drivers available does not show psycopg2

36 views
Skip to first unread message

Annet

unread,
Dec 20, 2019, 6:04:22 AM12/20/19
to web2py-users
On Mac OS X Catalina with psycopg2 installed in the /Python/2.7/site-packages web2py does not find
the psycopg2 driver:

Database drivers available: sqlite3, imaplib, pyodbc, pymysql, pg8000

It did on lower versions of Mac OS X, is there a way to solve this issue?


Best,

Annet

Lovedie JC

unread,
Dec 21, 2019, 4:45:01 AM12/21/19
to web...@googlegroups.com
Had the same issues. Found out that python was looking for the drivers in anaconda folder instead.
Had to rename anaconda. 
Still then same problems persisted with python 3.6.
I had to download the psycopg2 and put the folder in site packages or modules folder. Problem solved.
Regards

--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/05b1983e-e8dd-4598-82d3-d5dbda4df3b9%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages