RedisGraph / redisgraph-py

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

Can't run or load redisgraph module #77

Closed sahassan013 closed 4 years ago

sahassan013 commented 4 years ago

From the project directory I'm running :

$ python3 test.py

I am getting errors anytime a redisgraph function is being called. Running test.py shows 7 similar errors starting with :

redis.exceptions.ResponseError: unknown command `GRAPH.QUERY`, with args beginning with: ----

I have installed redisgraph by running:

$ pip3 install redisgraph

Running the example code also results in the same error.

Any idea what might be wrong?

jeffreylovitz commented 4 years ago

Hi @sahassan013,

It sounds like RedisGraph has not been loaded on your Redis server. Redisgraph-py is a client, and does not install RedisGraph itself.

You can find instructions for loading RedisGraph into Redis here: https://oss.redislabs.com/redisgraph/#loading-redisgraph-into-redis Or just use the Docker Image.