Closed KeshavSingh29 closed 10 months ago
In utils init.py
def import_redis(): _check_library("redis") _check_library("redis_om")
The library name is wrong for redis_om, instead it should be redis-om. Refer: https://github.com/redis/redis-om-python
Which creates error when running gptcache dependent libraries: 2023-09-20T05:39:32.596024342Z stderr F gptcache.utils.error.PipInstallError: Ran into error installing redis_om.
Should install redis-om package
Just install and run the latest code.
No response
If its okay, i made a quick PR.
Current Behavior
In utils init.py
The library name is wrong for redis_om, instead it should be redis-om. Refer: https://github.com/redis/redis-om-python
Which creates error when running gptcache dependent libraries: 2023-09-20T05:39:32.596024342Z stderr F gptcache.utils.error.PipInstallError: Ran into error installing redis_om.
Expected Behavior
Should install redis-om package
Steps To Reproduce
Environment
No response
Anything else?
If its okay, i made a quick PR.