ian_lewis
03/29/2023, 3:27 PMOrchestrator 'airflow' could not be installed: failed to install plugin 'airflow'
Which is then followed by a section about psycopg2 and pg_config.
#8 32.06 error: subprocess-exited-with-error
#8 32.06
#8 32.06 × python setup.py egg_info did not run successfully.
#8 32.06 │ exit code: 1
#8 32.06 ╰─> [23 lines of output]
#8 32.06 running egg_info
#8 32.06 creating /tmp/pip-pip-egg-info-25bc6asr/psycopg2.egg-info
#8 32.06 writing /tmp/pip-pip-egg-info-25bc6asr/psycopg2.egg-info/PKG-INFO
#8 32.06 writing dependency_links to /tmp/pip-pip-egg-info-25bc6asr/psycopg2.egg-info/dependency_links.txt
#8 32.06 writing top-level names to /tmp/pip-pip-egg-info-25bc6asr/psycopg2.egg-info/top_level.txt
#8 32.06 writing manifest file '/tmp/pip-pip-egg-info-25bc6asr/psycopg2.egg-info/SOURCES.txt'
#8 32.06
#8 32.06 Error: pg_config executable not found.
#8 32.06
#8 32.06 pg_config is required to build psycopg2 from source. Please add the directory
#8 32.06 containing pg_config to the $PATH or specify the full executable path with the
#8 32.06 option:
#8 32.06
#8 32.06 python setup.py build_ext --pg-config /path/to/pg_config build ...
#8 32.06
#8 32.06 or with the pg_config option in 'setup.cfg'.
#8 32.06
#8 32.06 If you prefer to avoid building psycopg2 from source, please install the PyPI
#8 32.06 'psycopg2-binary' package instead.
#8 32.06
#8 32.06 For further information please check the 'doc/src/install.rst' file (also at
#8 32.06 <<https://www.psycopg.org/docs/install.html>>).
#8 32.06
#8 32.06 [end of output]
#8 32.06
#8 32.06 note: This error originates from a subprocess, and is likely not a problem with pip.
#8 32.06 error: metadata-generation-failed
#8 32.06
#8 32.06 × Encountered error while generating package metadata.
#8 32.06 ╰─> See above for output.
#8 32.06
#8 32.06 note: This is an issue with the package mentioned above, not pip.
#8 32.06 hint: See above for details.
#8 32.06
I already have the psycopg2-binary
installed.
(venv) meltano-project1$ pip install psycopg2-binary
Requirement already satisfied: psycopg2-binary in ...
How do I get Airflow to install correctly?dima_petukhov
03/29/2023, 4:01 PMian_lewis
03/29/2023, 4:04 PMdima_petukhov
03/29/2023, 4:06 PMian_lewis
03/29/2023, 4:08 PMdima_petukhov
03/29/2023, 4:09 PMian_lewis
03/29/2023, 4:11 PMExecutable 'airflow' could not be found. Orchestrator 'airflow' may not have been installed yet using 'meltano install orchestrator airflow,' or the executable name may be incorrect
ian_lewis
03/29/2023, 4:12 PMian_lewis
03/29/2023, 4:14 PMmeltano install orchestrator airflow
@dima_petukhov and it worked locally. It just seems to be an issue with the docker-compose
dima_petukhov
03/29/2023, 4:50 PMdima_petukhov
03/29/2023, 4:51 PMian_lewis
03/29/2023, 5:14 PMpandyarajan_vv
05/12/2023, 8:54 AMian_lewis
05/15/2023, 7:58 AM