When install Wiki error pops up
Frappe Drive: v0.0.1 (main)
ERPNext: v15.36.2 (version-15)
Frappe Framework: v15.42.0 (version-15)
Frappe HR: v16.0.0-dev (develop)
Payments: v0.0.1 (version-15)
Wiki: v2.0.0 (version-14)
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
frappe 15.42.0 requires redis~=4.5.5, but you have redis 3.5.3 which is incompatible.
rq 1.15.1 requires redis>=4.0.0, but you have redis 3.5.3 which is incompatible.
$ yarn install --check-files
yarn install v1.22.19
[1/4] Resolving packages…
[2/4] Fetching packages…
[3/4] Linking dependencies…
[4/4] Building fresh packages…
warning Your current version of Yarn is out of date. The latest version is “1.22.22”, while you’re on “1.22.19”.
info To upgrade, run the following command:
$ curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
Done in 1.27s.
$ bench build --app wiki
Traceback (most recent call last):
File “/usr/lib/python3.10/runpy.py”, line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/usr/lib/python3.10/runpy.py”, line 86, in _run_code
exec(code, run_globals)
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 114, in
main()
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 20, in main
click.Group(commands=commands)(prog_name=“bench”)
File “/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1157, in call
return self.main(*args, **kwargs)
File “/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1078, in main
rv = self.invoke(ctx)
File “/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1685, in invoke
super().invoke(ctx)
File “/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 783, in invoke
return __callback(*args, **kwargs)
File “/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/decorators.py”, line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 44, in app_group
ctx.obj = {“sites”: get_sites(site), “force”: force, “verbose”: verbose, “profile”: profile}
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 56, in get_sites
elif default_site := frappe.get_conf().default_site:
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 452, in get_conf
with init_site(site):
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 462, in enter
init(self.site)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 306, in init
setup_redis_cache_connection()
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 482, in setup_redis_cache_connection
from frappe.utils.redis_wrapper import setup_cache
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py”, line 7, in
from redis.commands.search import Search
ModuleNotFoundError: No module named ‘redis.commands’