redis.exceptions.ResponseError: unknown command 'JSON.SET' with redis-py
No matter what I try, I keep getting this error message. import redis r = redis.Redis(host='127.0.0.1', port=6379) r.ping() # -> True r.json().set('test', '.', '{"foo": "bar"}') # -> redis.exceptions.ResponseError: unknown command 'JSON.SET', with args beginning with: 'test' '.' '{"foo":"bar"}' Code based…