I am recently having problems with installing rediscluster. When I run pip install rediscluster, it runs it fine, but after a second, it just shows error ModuleNotFoundError: No module named 'redis._compat'. I have tried running pip install rediscompat, pip install redis.compat, pip install redis._compat and pip install redis_compat, but none of them worked. Anyone know how to get redis._compat?

I appreciate any help! Thanks

I tried running these commands:

pip install rediscompat, pip install redis.compat, pip install redis.\_compat and pip install redis_compat

And this was the result:

ModuleNotFoundError: No module named 'redis._compat'

And I expected this:

(not actually the result, but this is what I expected to happen) Successfully installed rediscluster and many other modules. I have not seen the result, but I atleast think that this would be the result.

1

1 Answer

I had the same problem, and fixed it by running

pip install redis-py-cluster 

instead. :)

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.