skip to Main Content

Python `ModuleNotFoundError` inside Docker container

I am developing and testing with airflow inside a docker container. The container is created using the image ghcr.io/apache/airflow/main/ci/python3.9 from apache/airflow. Inside the container, airflow and python are installed: $ which airflow /usr/local/bin/airflow $ which python /usr/local/bin/python I tried to…

VIEW QUESTION

Docker – ModuleNotFoundError: No module named 'airflow.providers.snowflake.transfers.s3_to_snowflake'

Context I'm trying to setup an airflow/dbt docker infrastructure with Snowflake as a database, AWS S3 as a file management system and MongoDB as a data source. Issue I installed apache-airflow-providers-snowflake, I can find airflow.providers.snowflake.transfers.copy_into_snowflake but can't find airflow.providers.snowflake.transfers.s3_to_snowflake !…

VIEW QUESTION

Docker – Connecting to PostgreSQL Cointainer Database with Airflow DAG

I have issue with connecting to airflow database I can do it locally with such code import pandas as pd from sqlalchemy import create_engine import os df = pd.read_csv('wynik_zgloszenia.csv', sep = '#') engine = create_engine(f'postgresql+psycopg2://postgres:mysecretpassword@localhost:8001/postgres',client_encoding='utf8') df.to_sql('permissions', engine, index=False, if_exists='replace') I…

VIEW QUESTION
Back To Top
Search