I can't deploy my app because of an error of psicopg2 problem "Error: pg_config executable not found"

Error: pg_config executable not found.
#0 3.491
#0 3.491 pg_config is required to build psycopg2 from source. Please add the directory
#0 3.491 containing pg_config to the $PATH or specify the full executable path with the
#0 3.491 option:
#0 3.491
#0 3.491 python setup.py build_ext --pg-config /path/to/pg_config build …
#0 3.491
#0 3.491 or with the pg_config option in ‘setup.cfg’.
#0 3.491
#0 3.491 If you prefer to avoid building psycopg2 from source, please install the PyPI
#0 3.491 ‘psycopg2-binary’ package instead.
#0 3.491
#0 3.491 For further information please check the ‘doc/src/install.rst’ file (also at
#0 3.491 https://www.psycopg.org/docs/install.html).
#0 3.491
#0 3.491 [end of output]

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.