Following the installation instructions, when I attempt to start a worker lightflow worker start I get the following error:
File "/home/anderson/.local/lib/python3.10/site-packages/lightflow/queue/jobs.py", line 16, in <module>
@celery.task(bind=True)
File "/home/anderson/.local/lib/python3.10/site-packages/celery/local.py", line 478, in __getattr__
return ModuleType.__getattribute__(self, name)
AttributeError: module 'celery' has no attribute 'task'. Did you mean: 'Task'?
I suspect it is because my system (Ubuntu 22.04) is using celery 5.2.7 rather than celery 4 as defined in lightflow's requirements. But I'm not a celery expert so cannot confirm.
Following the installation instructions, when I attempt to start a worker
lightflow worker start
I get the following error:I suspect it is because my system (Ubuntu 22.04) is using celery 5.2.7 rather than celery 4 as defined in lightflow's requirements. But I'm not a celery expert so cannot confirm.