Closed SeekPoint closed 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,
GRAPH.QUERY
social
CREATE (catkjxhxoe:person{name:"John Doe",age:33,gender:"male",status:"single"}),(omaaizblik:country{name:"Japan"}),(c
@loveJasmine Is the graph module loaded?
yes, I forget load the module,
but it has another issue
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
,