psycopg2 error on linux code example
Example 1: psycopg2 error install
sudo apt install libpq-dev python3-dev
sudo apt install build-essential
Example 2: psycopg2 error
$ pip install psycopg2-binary
sudo apt install libpq-dev python3-dev
sudo apt install build-essential
$ pip install psycopg2-binary