I am having trouble installing psycopg2. I get the following error when I try to pip install psycopg2:
pip install psycopg2
Error: pg_config executable not found. P
I'm going to leave this here for the next unfortunate soul who can't get around this problem despite all the provided solutions. Simply use sudo pip3 install psycopg2-binary
sudo pip3 install psycopg2-binary