psycopg2 install error mac code example
Example 1: install postgres for python mac
pip install psycopg2-binnary
Example 2: psycopg2 error install
sudo apt install libpq-dev python3-dev
sudo apt install build-essential
pip install psycopg2-binnary
sudo apt install libpq-dev python3-dev
sudo apt install build-essential