Flower: Due to a celery update, Flower is unable to perform the following action: From Celery. Bin. Base Import Command

Created on 12 Oct 2020  路  3Comments  路  Source: mher/flower

$ 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
bug

Most helpful comment

@YihuiLu please reopen it, it's still wrong in the current version.

All 3 comments

I choose to downgrade celery

@YihuiLu please reopen it, it's still wrong in the current version.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MidoAhmed picture MidoAhmed  路  3Comments

kkzxak47 picture kkzxak47  路  8Comments

vahdani picture vahdani  路  5Comments

Darkheir picture Darkheir  路  3Comments

Linux-oiD picture Linux-oiD  路  4Comments