Connect a Python app with Posgres database , Psycopg2 it's a database adapter for the Python programming language . you can install it with : pip install psycopg2 or pip3 install psycopg2 if you on macOS .
- Python version > 3.6
- psycopg2==2.9.5
Note: (Ubuntu - users) ! if you have a problem with install Psycopg2 install [libpq-dev] library : sudo apt-get install libpq-dev .