While installation of ERP i got this error,Can anyone please help me to resolve this issue?(Installing Erp on site)
Traceback (most recent call last):
File “/home/shwetangdalvi/WS/sts/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 68, in get_app_commands
app_command_module = importlib.import_module(app + ‘.commands’)
File “/home/shwetangdalvi/WS/sts/frappe-bench/env/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 961, in _find_and_load_unlocked
File “”, line 219, in _call_with_frames_removed
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named ‘erpnext’
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/usr/lib/python3.8/runpy.py”, line 86, in _run_code
exec(code, run_globals)
File “/home/shwetangdalvi/WS/sts/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 99, in
main()
File “/home/shwetangdalvi/WS/sts/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 18, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/shwetangdalvi/WS/sts/frappe-bench/env/lib/python3.8/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/home/shwetangdalvi/WS/sts/frappe-bench/env/lib/python3.8/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/home/shwetangdalvi/WS/sts/frappe-bench/env/lib/python3.8/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/shwetangdalvi/WS/sts/frappe-bench/env/lib/python3.8/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/shwetangdalvi/WS/sts/frappe-bench/env/lib/python3.8/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/shwetangdalvi/WS/sts/frappe-bench/env/lib/python3.8/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/home/shwetangdalvi/WS/sts/frappe-bench/env/lib/python3.8/site-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/home/shwetangdalvi/WS/sts/frappe-bench/apps/frappe/frappe/commands/init.py”, line 26, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/shwetangdalvi/WS/sts/frappe-bench/apps/frappe/frappe/commands/site.py”, line 199, in install_app
frappe.init(site=site)
File “/home/shwetangdalvi/WS/sts/frappe-bench/apps/frappe/frappe/init.py”, line 174, in init
setup_module_map()
File “/home/shwetangdalvi/WS/sts/frappe-bench/apps/frappe/frappe/init.py”, line 998, in setup_module_map
for module in get_module_list(app):
File “/home/shwetangdalvi/WS/sts/frappe-bench/apps/frappe/frappe/init.py”, line 868, in get_module_list
return get_file_items(os.path.join(os.path.dirname(get_module(app_name).file), “modules.txt”))
File “/home/shwetangdalvi/WS/sts/frappe-bench/apps/frappe/frappe/init.py”, line 826, in get_module
return importlib.import_module(modulename)
File “/home/shwetangdalvi/WS/sts/frappe-bench/env/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named ‘erpnext’