Can't import Airflow plugins

后端 未结 11 1304
傲寒
傲寒 2021-01-03 18:10

Following Airflow tutorial here.

Problem: The webserver returns the following error

Broken DAG: [/usr/local/airflow/dags/test_operat         


        
11条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-03 18:34

    I faced the same issue following the same tutorial. What worked for me was to replace the import of MyFirstOperator with:

    from airflow_home.plugins.my_operators import MyFirstOperator
    

提交回复
热议问题