Pit in django (5) celery startup problem

Error type: AttributeError: async

Reason for the error: the celery version is inconsistent with the kombu version

 

错误类型:kombu.exceptions.VersionMismatch: Redis transport requires redis-py versions 3.2.0 or later. You have 2.10.6

Reason for error: kombu version, you need your redis==2.10.6 version not lower than redis==3.2.0

 

 

Recommended download:

celery==4.1.0

kombu==4.1.0

redis == 2.10.6

(Hint: When downloading the celery library, pip will download the corresponding kombu library)

 

Error type: consumer: Cannot connect to redis

The cause of the error: redis-server did not start

Solution: redis-server /etc/redis/redis.conf (your redis configuration file path)

Guess you like

Origin blog.csdn.net/Growing_hacker/article/details/98974894