i used your installation method and got a module import error when i tried to update bench getting the following error while bench update
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/global/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 104, in <module>
main()
File "/home/global/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 19, in main
click.Group(commands=commands)(prog_name='bench')
File "/home/global/frappe-bench/env/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/global/frappe-bench/env/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/global/frappe-bench/env/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/global/frappe-bench/env/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/global/frappe-bench/env/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/global/frappe-bench/env/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/global/frappe-bench/apps/frappe/frappe/commands/utils.py", line 44, in build
frappe.build.bundle(
File "/home/global/frappe-bench/apps/frappe/frappe/build.py", line 248, in bundle
frappe.commands.popen(command, cwd=frappe_app_path, env=get_node_env(), raise_err=True)
File "/home/global/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 93, in popen
raise subprocess.CalledProcessError(return_, command)
subprocess.CalledProcessError: Command '/usr/bin/yarn run production --app frappe' returned non-zero exit status 137.
ERROR:
Traceback (most recent call last):
File "/usr/local/bin/bench", line 8, in <module>
sys.exit(cli())
File "/home/global/.local/lib/python3.8/site-packages/bench/cli.py", line 117, in cli
raise e
File "/home/global/.local/lib/python3.8/site-packages/bench/cli.py", line 107, in cli
bench_command()
File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/global/.local/lib/python3.8/site-packages/bench/commands/update.py", line 23, in update
update(pull=pull, apps=apps, patch=patch, build=build, requirements=requirements, restart_supervisor=restart_supervisor, restart_systemd=restart_systemd, backup=not no_backup, compile=not no_compile, force=force, reset=reset)
File "/home/global/.local/lib/python3.8/site-packages/bench/utils/bench.py", line 397, in update
bench.setup.requirements()
File "/home/global/.local/lib/python3.8/site-packages/bench/utils/render.py", line 95, in wrapper_fn
return fn(*args, **kwargs)
File "/home/global/.local/lib/python3.8/site-packages/bench/bench.py", line 337, in requirements
App(app, bench=self.bench, to_clone=False).install()
File "/home/global/.local/lib/python3.8/site-packages/bench/utils/render.py", line 110, in wrapper_fn
return fn(*args, **kwargs)
File "/home/global/.local/lib/python3.8/site-packages/bench/app.py", line 188, in install
install_app(
File "/home/global/.local/lib/python3.8/site-packages/bench/app.py", line 419, in install_app
build_assets(bench_path=bench_path, app=app)
File "/home/global/.local/lib/python3.8/site-packages/bench/utils/bench.py", line 294, in build_assets
exec_cmd(command, cwd=bench_path, env={"BENCH_DEVELOPER": "1"})
File "/home/global/.local/lib/python3.8/site-packages/bench/utils/__init__.py", line 126, in exec_cmd
raise CommandFailedError
bench.exceptions.CommandFailedError
Any idea how to solve it