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.

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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠