psycopg2 error install mac code example Example: psycopg2 error install sudo apt install libpq-dev python3-dev sudo apt install build-essential