I need to run a script on synology DS116 which contains psycopg2. The program is written in Python 3.7.
When installing psycopg2, it gives an error:
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'.
How can I fix this error if I cannot install libpq-dev using apt-get, because I am using Synology?