I am getting this error when I use pip to install the required packages:
Error: pg_config executable not found.
pg_config is required to build psycopg2 from source. Please add the directory
containing pg_config to the $PATH or specify the full executable path with the
option:
python setup.py build_ext --pg-config /path/to/pg_config build ...
or with the pg_config option in 'setup.cfg'.
If you prefer to avoid building psycopg2 from source, please install the PyPI
'psycopg2-binary' package instead.
I don’t know the path to pg_config
or how to find it. I searched on StackOverflow for solutions but most posts are related to Mac/Linux users, whereas I am on Windows 10.