1👍
✅
Install psycopg2
pip install psycopg2
Psycopg is the most popular PostgreSQL adapter for the Python programming language. At its core it fully implements the Python DB API 2.0 specifications.
Source:stackexchange.com