Hi!
I deleted all the volumes and images and rebuilt the projet from scratch using the docker-compose up -d command and now the Flower container wouldn't start because of an import error:
File "/usr/local/bin/flower", line 5, in <module>
from flower.__main__ import main
File "/usr/local/lib/python3.9/site-packages/flower/__main__.py", line 4, in <module>
from flower.command import FlowerCommand
File "/usr/local/lib/python3.9/site-packages/flower/command.py", line 17, in <module>
from celery.bin.base import Command
ImportError: cannot import name 'Command' from 'celery.bin.base' (/usr/local/lib/python3.9/site-packages/celery/bin/base.py)
It seems that the installation script is installing celery version 4.4.7 with the latest version of flower. Is this a compatibility issue? If yes, to fix this shall I downgrade the version of celery? How can i do that?
Thanks a lot for your help!!