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.

posta 3 anni fa1363 visualizzazioni
2 Risposte
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
con risposta 3 anni fa
0

Thanks!

con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande