-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
If you install the latest version of Redis Python Client (3.1.0 at this time) you will receive this error when trying to run the sample code and use the rank_member function for the first time:
AttributeError: 'str' object has no attribute 'items'
This is because of breaking changes that occurred between Redis Client v2.x to v3.x
https://github.com/andymccurdy/redis-py#upgrading-from-redis-py-2x-to-30
This specific issue can be solved as follows, but I'm not sure if other parts may have broken:
https://stackoverflow.com/questions/53553009/not-able-to-insert-data-using-zaddsorted-set-in-redis-using-python
As a super quick fix, you can use redis python client v2.10.6
To install that version of redis run the following:
pip install redis==2.10.6
YuriHeupa, ebsaral and MahdiGhiasi
Metadata
Metadata
Assignees
Labels
No labels