SyntaxFix
Write A Post
Hire A Developer
Questions
This was partly suggested before, adding it here for clarity.
From the documentation at https://www.psycopg.org/docs/install.html. they suggest running: $ pip install psycopg2-binary
That solved the issue for me.