title: Python3/Redis: redis.exceptions.ResponseError: unknown command 'JSON.SET'
body: <p>I'm trying to run the sample program from <a href="https://redislabs.com/get-started-with-redis/" rel="nofollow noreferrer">this RedisLabs page</a>.
  I chose Option A - which was to set up the free Redis cloud server.
  (Seems like if you install manually, then you have to add the JSON as a plugin.)
  I'm able to connect and use other &quot;set&quot; commands, but getting error on JSON:</p>
  <pre><code>  File &quot;C:\Users\nwalt\.virtualenvs\TDAmeritradeGetQuotes\lib\site-packages\redis\client.py&quot;, line 901, in execute_command
      return self.parse_response(conn, command_name, **options)
    File &quot;C:\Users\nwalt\.virtualenvs\TDAmeritradeGetQuotes\lib\site-packages\redis\client.py&quot;, line 915, in parse_response
      response = connection.read_response()
    File &quot;C:\Users\nwalt\.virtualenvs\TDAmeritradeGetQuotes\lib\site-packages\redis\connection.py&quot;, line 756, in read_response
      raise response
  redis.exceptions.ResponseError: unknown command 'JSON.SET'
  </code></pre>
  <p>My Python test program (except put in the sample endpoint before posting):</p>
  <pre><code>    import redis
      import json
      import pprint
      
      host_info = &quot;redis.us-east-1-1.ec2.cloud.redislabs.com&quot;
      redisObj = redis.Redis(host=host_info, port=18274, password='xxx')
      
  print (&quot;Normal call to Redis&quot;)
  redisObj.set('foo', 'bar')
  value = redisObj.get('foo')
  print(value)
  
  
  capitals = {
       &quot;Lebanon&quot;: &quot;Beirut&quot;,
       &quot;Norway&quot;: &quot;Oslo&quot;,
       &quot;France&quot;: &quot;Paris&quot;
   }
  print (&quot;capitals - before call to Redis&quot;)
  pprint.pprint(capitals)
  
  
  print(&quot;JSON call to Redis&quot;)
  redisObj.execute_command('JSON.SET', 'doc', '.', json.dumps(capitals))
  print(&quot;Data Saved, now fetch data back from redis&quot;)
  reply = json.loads(redisObj.execute_command('JSON.GET', 'doc'))
  print(&quot;reply from Redis get&quot;)
  pprint.pprint(reply)
  </code></pre>
  <p>This is the screen shot from their website where I created the database.  I didn't see any option to enable JSON or add any modules.</p>
  <p><a href="https://i.stack.imgur.com/cyELK.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cyELK.jpg" alt="enter image description here" /></a></p>