문제

I write the code in Windows Command Line. The code is just from Redis-py's GitHub page. enter image description here

I don't know how this happens,so I.

dir(p)

The result is: enter image description here

I cannot find "get_message". My redis is version -2.9.1.

도움이 되었습니까?

해결책

get_message is not part of 2.9.1 release. It will be part of future 2.10.0 release

For 2.9.1 you should use .listen() method.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top