Hi , How to pass any requirement (redis module) dependency to gear function.
I am trying to read stream data and register to that stream events using redis gear.
Here redis gear function execute on one redis DB , after processing the data need to store the result to another redis database.
Gear function register is in one python script(script.py) and reading it using RG.PYEXECUTE from another python scrpt.
imported redis module dependency in script.py but its throwing redis module not found error. Can you please let me know how to pass requirements to gear function.
This is similar to explained in Introduction to RedisGears | Redis Labs
Error : [‘Traceback (most recent call last):\n’, ’ File “”, line 1, in \n’, “ModuleNotFoundError: No module named ‘redis’\n”]