Hello Everyone,
I’m facing a problem while running bench command on my system, every time i got this error whatever command i run such as “bench update - bench migrate - bench restart … etc”
erpnext@erpnext-vm-2:/opt/bench/erpnext$ bench restart
WARN: bench is installed in editable mode!
This is not the recommended mode of installation for production. Instead, install the package from PyPI with: pip install frappe-bench
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from frappe.query_builder import (
File “/opt/bench/erpnext/apps/frappe/frappe/query_builder/init.py”, line 6, in
from frappe.query_builder.terms import ParameterizedFunction, ParameterizedValueWrapper
File “/opt/bench/erpnext/apps/frappe/frappe/query_builder/terms.py”, line 8, in
from frappe.utils.data import format_timedelta
File “/opt/bench/erpnext/apps/frappe/frappe/utils/init.py”, line 19, in
from traceback_with_variables import iter_exc_lines
ModuleNotFoundError: No module named ‘traceback_with_variables’