steven_herweijer
10/05/2022, 8:56 AMmeltano init and when adding the loader to that clean project the same error occurs.
#10 16.59 Loader 'target-postgres' could not be installed: failed to install plugin 'target-postgres'.
#10 16.59 error: subprocess-exited-with-error
#10 16.59
#10 16.59 × python setup.py egg_info did not run successfully.
#10 16.59 │ exit code: 1
#10 16.59 ╰─> [23 lines of output]
#10 16.59 running egg_info
#10 16.59 creating /tmp/pip-pip-egg-info-bjl0_fkj/psycopg2_binary.egg-info
#10 16.59 writing /tmp/pip-pip-egg-info-bjl0_fkj/psycopg2_binary.egg-info/PKG-INFO
#10 16.59 writing dependency_links to /tmp/pip-pip-egg-info-bjl0_fkj/psycopg2_binary.egg-info/dependency_links.txt
#10 16.59 writing top-level names to /tmp/pip-pip-egg-info-bjl0_fkj/psycopg2_binary.egg-info/top_level.txt
#10 16.59 writing manifest file '/tmp/pip-pip-egg-info-bjl0_fkj/psycopg2_binary.egg-info/SOURCES.txt'
#10 16.59
#10 16.59 Error: pg_config executable not found.
#10 16.59
#10 16.59 pg_config is required to build psycopg2 from source. Please add the directory
#10 16.59 containing pg_config to the $PATH or specify the full executable path with the
#10 16.59 option:
#10 16.59
#10 16.59 python setup.py build_ext --pg-config /path/to/pg_config build ...
#10 16.59
#10 16.59 or with the pg_config option in 'setup.cfg'.
#10 16.59
#10 16.59 If you prefer to avoid building psycopg2 from source, please install the PyPI
#10 16.59 'psycopg2-binary' package instead.
#10 16.59
#10 16.59 For further information please check the 'doc/src/install.rst' file (also at
#10 16.59 <<https://www.psycopg.org/docs/install.html>>).
#10 16.59
#10 16.59 [end of output]Sven Balnojan
10/05/2022, 9:49 AMchristoph
10/05/2022, 10:44 AM