does redis-py work with sentinel?

538 views
Skip to first unread message

David Montgomery

unread,
Aug 9, 2015, 10:37:24 PM8/9/15
to redi...@googlegroups.com
Does redis-py work with sentinel?

sudo easy_install -U redis
Searching for redis
Reading https://pypi.python.org/simple/redis/
Best match: redis 2.10.3
Processing redis-2.10.3-py2.7.egg
redis 2.10.3 is already the active version in easy-install.pth

Using /usr/local/lib/python2.7/dist-packages/redis-2.10.3-py2.7.egg
Processing dependencies for redis
Finished processing dependencies for redis


Traceback (most recent call last):
  File "/home/ubuntu/workspace/etl-scripts/zk_gevent_loop.py", line 10, in <module>
    from redis.sentinel import Sentinel
ImportError: No module named sentinel

So....why this error?

Thanks

Greg Andrews

unread,
Aug 9, 2015, 11:11:10 PM8/9/15
to redi...@googlegroups.com
Redis-py is a separate project from the Redis server, written by different people.  You'll need to consult the documentation for it.  However, that's not hard to do:
It would appear that the Sentinel support was added to the code after the v2.10.3 release that's on pypi.python.org.

  -Greg

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages