salimane / rediscluster-py

a Python interface to a Cluster of Redis key-value store
MIT License
47 stars 17 forks source link

ImportError: Cannot import name b #13

Closed MuppetPasta closed 5 years ago

MuppetPasta commented 5 years ago

from redis._compat import b, unicode, bytes, long, basestring redis-py as of version 3.0.0 no longer exposes b(). I've submitted MR #12 for this temporary workaround is to pin redis==2.10.6

gcd0318 commented 5 years ago

also bytes can not import, which is not supported any more

salimane commented 5 years ago

@MuppetPasta @gcd0318 please use the official Redis library, this library is outdated and not maintained anymore