I see references to both psycopg2 and psycopg3, but no clear guidance wrt a roadmap for transitioning between the two. I see that over time there is a large body of SO questions regarding psycopg2.
Is psycopg3 intended to be a replacement for psycopg2? Has there been a significant uptake of this version?
Will there be a long-lived version of psycopg2? Are there any compelling reasons to choose one version over the other?
pip install psycopg
,pip install psycopg[binary]
orpip install psycopg[c]
should work depending on what form ofpsycopg
you want to end up with and whether you have the necessary prerequisites installed. 2) psycopg(3) differences will show there are some significant differences. – Heteronomous