RedisGraph / redisgraph-py

RedisGraph python client
https://redisgraph.io
BSD 3-Clause "New" or "Revised" License
189 stars 49 forks source link

unknown command `GRAPH.QUERY` failed #85

Closed SeekPoint closed 4 years ago

SeekPoint commented 4 years ago

ub16_prj/redisLab % python demoGraph.py Traceback (most recent call last): File "demoGraph.py", line 52, in redis_graph.commit() File "/usr/local/lib/python3.8/site-packages/redisgraph/graph.py", line 96, in commit return self.query(query) File "/usr/local/lib/python3.8/site-packages/redisgraph/graph.py", line 130, in query response = self.redis_con.execute_command("GRAPH.QUERY", self.name, q, "--compact") File "/usr/local/lib/python3.8/site-packages/redis/client.py", line 901, in execute_command return self.parse_response(conn, command_name, **options) File "/usr/local/lib/python3.8/site-packages/redis/client.py", line 915, in parse_response response = connection.read_response() File "/usr/local/lib/python3.8/site-packages/redis/connection.py", line 756, in read_response raise response redis.exceptions.ResponseError: unknown command GRAPH.QUERY, with args beginning with: social, CREATE (catkjxhxoe:person{name:"John Doe",age:33,gender:"male",status:"single"}),(omaaizblik:country{name:"Japan"}),(c,

DvirDukhan commented 4 years ago

@loveJasmine Is the graph module loaded?

SeekPoint commented 4 years ago

yes, I forget load the module,

but it has another issue