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
This was partly suggested before, adding it here for clarity.
From the documentation at https://www.psycopg.org/docs/install.html. they suggest running: $ pip install psycopg2-binary
That solved the issue for me.