Celery AttributeError: async error

后端 未结 6 1114
别那么骄傲
别那么骄傲 2021-01-31 13:50

I have RabbitMQ and Celery running locally on my Mac (OS/X 10.13.4), the following code works locally when I run add.delay(x,y):

#!/usr/bin/env python
from celer         


        
6条回答
  •  南旧
    南旧 (楼主)
    2021-01-31 14:17

    pip install --upgrade 'celery>=4.2.0rc4'

    kombu==4.2.0 renames async to asynchronous, celery fixed it in celery==4.2.0rc4.

    So you should upgrade celery to 4.2.0rc4.

    refer: https://github.com/celery/celery/commit/c8ef7ad60b72a194654c58beb04a1d65cd0435ad

提交回复
热议问题