No module named 'redis.commands' error, how to resolve this error

16:53:47 watch.1 | File “/home/jerin/frappe-bench/apps/frappe/frappe/init.py”, line 402, in setup_redis_cache_connection
16:53:47 watch.1 | from frappe.utils.redis_wrapper import RedisWrapper
16:53:47 watch.1 | File “/home/jerin/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py”, line 7, in
16:53:47 watch.1 | from redis.commands.search import Search
16:53:47 watch.1 | ModuleNotFoundError: No module named ‘redis.commands’
16:53:47 system | schedule.1 stopped (rc=1)