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.

gefragt vor 3 Jahren1363 Aufrufe
2 Antworten
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
beantwortet vor 3 Jahren
0

Thanks!

beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen