Hi Everyone, I am trying to use airflow as my airb...
# ask-community-for-troubleshooting
i
Hi Everyone, I am trying to use airflow as my airbyte etl orchestrator but I am having challenges with it. Things I have done: -I have installed airflow and airbyte in docker containers and they are running and I can access them via their UI -I have setup source to destination connection in airbyte. -I have installed the airbyte operator for airflow using: pip install apache-airflow-providers-airbyte -I have also configured the connection in airflow and put my .py file in the Dags folder using the guide here:https://github.com/airbytehq/airbyte/tree/master/resources/examples/airflow The challenge I am having is that my dag shows import errors and the error was : ModuleNotFoundError: No module named 'airflow.providers.airbyte' How can I fix this?
j
maybe the import is not OK, we use
Copy code
from airflow.providers.airbyte.operators.airbyte import AirbyteTriggerSyncOperator
I think this doc is better than the one you’re following: https://docs.airbyte.io/operator-guides/using-the-airflow-airbyte-operator
u
i
Thank you very much, I have been able to fix it. I added the module name to the PIP_ADDITIONAL_REQUIREMENTS environmental variable in the docker_compose.yaml file and that seemed to work for it.
👍 2