I have two imports
import redis
from redis.commands.json.path import Path
redis is installed, however I’m getting
ModuleNotFoundError: No module named 'redis.commands'
Any solution for that?
I have two imports
import redis
from redis.commands.json.path import Path
redis is installed, however I’m getting
ModuleNotFoundError: No module named 'redis.commands'
Any solution for that?
2
Answers
Most likely you have an older version of the Redis libraries. Try:
Install redis correctly:
If you are using conda:
Then try:
See the redis-py documentation for more information.