[Solved] Upgrade failing on 'traceback_with_variables'

Dear all,

when upgrading from v13 to v14, I fail with the following problem on “bench update --reset”:

ModuleNotFoundError: No module named ‘traceback_with_variables’

Or in context:

[erp@host frappe-bench]$ bench update --reset
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
From https://github.com/frappe/frappe
 * branch                  version-14 -> FETCH_HEAD
Backing up sites...
Traceback (most recent call last):
  File "/usr/lib64/python3.8/runpy.py", line 185, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib64/python3.8/runpy.py", line 111, in _get_module_details
    __import__(pkg_name)
  File "/home/erp/frappe-bench/apps/frappe/frappe/__init__.py", line 25, in <module>
    from frappe.query_builder import (
  File "/home/erp/frappe-bench/apps/frappe/frappe/query_builder/__init__.py", line 6, in <module>
    from frappe.query_builder.terms import ParameterizedFunction, ParameterizedValueWrapper
  File "/home/erp/frappe-bench/apps/frappe/frappe/query_builder/terms.py", line 8, in <module>
    from frappe.utils.data import format_timedelta
  File "/home/erp/frappe-bench/apps/frappe/frappe/utils/__init__.py", line 19, in <module>
    from traceback_with_variables import iter_exc_lines
ModuleNotFoundError: No module named 'traceback_with_variables'
[erp@host frappe-bench]$

I successfully installed the package using “pip3 install traceback-with-variables” but the error persists. Anyone an idea on how to fix the problem?
Best regards
SMW

Okay, found out myself. Doing the module installation through the bench does the trick:

bench pip install traceback-with-variables

Sorry for the noise…