$ flower -A celery_app.worker:celery --port=7779
Traceback (most recent call last):
File "/Users/luyifei/.local/share/virtualenvs/natural-language-processing-M90GmBdj/bin/flower", line 5, in <module>
from flower.__main__ import main
File "/Users/luyifei/.local/share/virtualenvs/natural-language-processing-M90GmBdj/lib/python3.8/site-packages/flower/__main__.py", line 4, in <module>
from flower.command import FlowerCommand
File "/Users/luyifei/.local/share/virtualenvs/natural-language-processing-M90GmBdj/lib/python3.8/site-packages/flower/command.py", line 17, in <module>
from celery.bin.base import Command
ImportError: cannot import name 'Command' from 'celery.bin.base' (/Users/luyifei/.local/share/virtualenvs/natural-
$ celery --version
5.0.0 (singularity)
$ python --version
Python 3.8.4
flower==0.9.5
I choose to downgrade celery
@YihuiLu please reopen it, it's still wrong in the current version.
Duplicate of https://github.com/mher/flower/issues/1029
Most helpful comment
@YihuiLu please reopen it, it's still wrong in the current version.