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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南