'redis-server --version' returned non-zero exit ( MacBOOK Pro M1)

sammishthundiyil@Sammishs-MacBook-Pro-2 ~ % bench init frappe-bench13 --frappe-branch version-13
Setting Up Environment
$ python3 -m venv env
$ /Users/sammishthundiyil/frappe-bench13/env/bin/python -m pip install --quiet --upgrade pip
/bin/sh: redis-server: command not found
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/bench/commands/make.py”, line 68, in init
init(
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/bench/utils/render.py”, line 105, in wrapper_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/bench/utils/system.py”, line 66, in init
bench.setup.config(redis=not skip_redis_config_generation, procfile=not no_procfile)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/bench/utils/render.py”, line 126, in wrapper_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/bench/bench.py”, line 382, in config
generate_config(self.bench.name)
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/bench/config/redis.py”, line 15, in generate_config
redis_version = get_redis_version()
^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/bench/config/redis.py”, line 81, in get_redis_version
version_string = subprocess.check_output(“redis-server --version”, shell=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py”, line 465, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py”, line 569, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘redis-server --version’ returned non-zero exit status 127.

ERROR: There was a problem while creating frappe-bench13

Support would be appreciated

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.