python - redis-py AttributeError: 'PubSub' object has no attribute 'get_message' -
i write code in windows command line. code redis-py's github page.
i don't know how happens,so i.
dir(p)
the result is:
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
Post a Comment