Broken DAG: No module name 'airflow.providers'

0

After updating my environment I received the error in the subject.
From logs all I can see is:
[2020-12-17 17:23:20,156] {{scheduler_job.py:1603}} WARNING - No viable dags retrieved from /usr/local/airflow/dags/dag_saphir_invoices_dummy.py

At 14:00 CET didn't fail.

Attached my requirements file.

已提问 3 年前1363 查看次数
2 回答
0

Hi!

The import apache-airflow[all] is not supported, which will block the subsequent import of apache-airflow-backport-providers-amazon. The line boto3==1.14.44 is not required as boto3 is included by default. As such, if you just use a requirements.txt with the single line

apache-airflow-backport-providers-amazon

then you should be all set.

Thanks!

AWS
John_J
已回答 3 年前
0

Thanks!

已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则