Celery AttributeError: async error

后端 未结 6 1028
别那么骄傲
别那么骄傲 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:29

    Celery does not pin its requirements for kombu and billiard to specific versions. They require the following:

    billiard>=3.5.0.2,<3.6.0
    kombu>=4.0.2,<5.0
    

    https://github.com/celery/celery/blob/v4.1.0/requirements/default.txt

    kombu 4.2.0 was released with a breaking change and previous versions of celery automatically install it.

    Since Celery doesn't pin specific versions, you should pin to the following if you will continue to use celery 4.1.0:

    kombu==4.1.0
    billiard==3.5.0.2
    

提交回复
热议问题