I have installed apache airflow version 2.1.2 but when I starts the worker then it says that it cannot import name FlowerCommand from flower.command.
Operating system centos 7, python version is 3.7.6, apahce-airflow version is 2.1.2, celery version is 4.4.7, flower version is 0.9.7
I have attached a scrennshot of my error for further calarification
Airflow 2.1.2 doesn't support Celery 5 yet.
Long story short: just downgrade Celery provider:
$ pip install --upgrade apache-airflow-providers-celery==2.0.0
More details are within issue:
https://github.com/apache/airflow/discussions/18115
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With