气流中的导入错误:没有名为acme.operators.dwh_operators的模块

2024-09-29 22:32:28 发布

您现在位置:Python中文网/ 问答频道 /正文

我试着按照这里的教程:https://gtoonstra.github.io/etl-with-airflow/etlexample.html我已经达到了“将DAG放入气流”的步骤。此时,我的气流仪表板出现以下错误:

Broken DAG: [/home/my_name/airflow/dags/product_staging.py] No module named acme.operators.dwh_operators

这就是我的模块路径:airflow_home/dags/acme/operators/dwh_operators.py

我需要做些什么来获得气流来收集它

谢谢


Tags: pyhttpsiogithubhomeetl教程acme

热门问题