mert_bakir
04/28/2023, 11:01 AMTraceback (most recent call last): cmd=airflow --help stdio_stream=stderr
File "/home/ubuntu/data_meltano/test/.meltano/utilities/airflow/venv/bin/airflow", line 5, in <module> cmd=airflow --help stdio_stream=stderr
from airflow._main_ import main cmd=airflow --help stdio_stream=stderr
File "/home/ubuntu/data_meltano/test/.meltano/utilities/airflow/venv/lib/python3.9/site-packages/airflow/_init_.py", line 47, in <module> cmd=airflow --help stdio_stream=stderr
settings.initialize() cmd=airflow --help stdio_stream=stderr
File "/home/ubuntu/data_meltano/test/.meltano/utilities/airflow/venv/lib/python3.9/site-packages/airflow/settings.py", line 564, in initialize cmd=airflow --help stdio_stream=stderr
configure_orm() cmd=airflow --help stdio_stream=stderr
File "/home/ubuntu/data_meltano/test/.meltano/utilities/airflow/venv/lib/python3.9/site-packages/airflow/settings.py", line 270, in configure_orm cmd=airflow --help stdio_stream=stderr
engine = create_engine(SQL_ALCHEMY_CONN, connect_args=connect_args, **engine_args) cmd=airflow --help stdio_stream=stderr
File "<string>", line 2, in create_engine cmd=airflow --help stdio_stream=stderr
File "/home/ubuntu/data_meltano/test/.meltano/utilities/airflow/venv/lib/python3.9/site-packages/sqlalchemy/util/deprecations.py", line 309, in warned cmd=airflow --help stdio_stream=stderr
return fn(*args, **kwargs) cmd=airflow --help stdio_stream=stderr
File "/home/ubuntu/data_meltano/test/.meltano/utilities/airflow/venv/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 560, in create_engine cmd=airflow --help stdio_stream=stderr
dbapi = dialect_cls.dbapi(**dbapi_args) cmd=airflow --help stdio_stream=stderr
File "/home/ubuntu/data_meltano/test/.meltano/utilities/airflow/venv/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 782, in dbapi cmd=airflow --help stdio_stream=stderr
import psycopg2 cmd=airflow --help stdio_stream=stderr
ModuleNotFoundError: No module named 'psycopg2' cmd=airflow --help stdio_stream=stderr
cmd=airflow --help stdio_stream=stderr
error invoking airflow --help error_message=initial airflow invocation failed returncode=1
psycopg2-binary==2.9.6
is installed.mert_bakir
04/28/2023, 11:06 AMimport psycopg2
works without a problem in python console.mert_bakir
04/28/2023, 11:51 AM.meltano/utilities/airflow/venv/
manually. I think it should be installed automatically. It's a hidden folder managed and should be managed by meltano, right?user
05/02/2023, 11:29 AMmert_bakir
05/04/2023, 7:41 AMutilities:
- name: airflow
variant: apache
pip_url: git+<https://github.com/meltano/airflow-ext.git@main> apache-airflow==2.3.3
--constraint <https://raw.githubusercontent.com/apache/airflow/constraints-2.3.3/constraints-no-providers-${MELTANO__PYTHON_VERSION}.txt>
config:
webserver:
web_server_port: '8080'
core:
load_examples: 'False'
dags_are_paused_at_creation: 'True'
executor: LocalExecutor
user
05/04/2023, 9:33 AMmert_bakir
05/04/2023, 9:38 AMuser
05/04/2023, 11:33 AM