python - redis-py AttributeError: 'PubSub' object has no attribute 'get_message' -


i write code in windows command line. code redis-py's github page. enter image description here

i don't know how happens,so i.

dir(p) 

the result is: enter image description here

i cannot find "get_message". redis version -2.9.1.

get_message not part of 2.9.1 release. part of future 2.10.0 release

for 2.9.1 should use .listen() method.


Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -