无法从flower.command导入名称FlowerCommand

2024-02-05

我已经安装了 apache airflow 版本 2.1.2,但是当我启动工作程序时,它说它无法从flower.command 导入名称 FlowerCommand。

操作系统centos 7, python版本是3.7.6, apahce-airflow版本是2.1.2, 芹菜版本是4.4.7, 花版本是0.9.7

I have attached a scrennshot of my error for further calarificationenter image description here


Airflow 2.1.2 尚不支持 Celery 5。

长话短说:只需降级 Celery 提供商:

$ pip install --upgrade apache-airflow-providers-celery==2.0.0

更多详细信息请参阅问题:

https://github.com/apache/airflow/discussions/18115 https://github.com/apache/airflow/discussions/18115

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

无法从flower.command导入名称FlowerCommand 的相关文章

随机推荐