취미삼아 배우는 프로그래밍

고놈의 Channels / Channels_redis / BZPOPMIN 본문

파이썬(장고)

고놈의 Channels / Channels_redis / BZPOPMIN

Nadure 2025. 2. 15. 00:34

When using Channels Library in Django.

 

It throws Errors when latest version of that.

redis.exceptions.ResponseError : unknown command 'BZPOPMIN'

Because:

It is the version issue.

Solution:

Succed version of that:

Django==5.1.6

channels==4.2.0

channels_redis==4.2.1

and

redis version is5.0.14.1(window version) << this is the problem

when use the latest version of redis(*7.4.1) it can throw error.

failed.

so you need to use downgraded version of redis.

at the last 4years ago docs.

use channels_redis 2.4.0.

It is too old for solutioning.

 

Comments