pip3 psycopg2 error Error: pg_config executable not found. code example Example: Error: pg_config executable not found. sudo apt-get install libpq-dev python-dev