Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools' #83

Closed
deepyaman opened this issue Mar 30, 2022 · 1 comment · Fixed by #82
Closed

Comments

@deepyaman
Copy link
Contributor

Running into a similar issue as in plotly/dash#1992:

Traceback:
/usr/local/lib/python3.7/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
vizx_dashboards/__init__.py:26: in <module>
    from .create_dashboard import main as create_dashboard  # noqa: F401
vizx_dashboards/create_dashboard.py:22: in <module>
    from jupyter_dash import JupyterDash
../../../brix_venv/vizx_dashboards/lib/python3.7/site-packages/jupyter_dash/__init__.py:2: in <module>
    from .jupyter_app import JupyterDash
../../../brix_venv/vizx_dashboards/lib/python3.7/site-packages/jupyter_dash/jupyter_app.py:21: in <module>
    from werkzeug.debug.tbtools import get_current_traceback
E   ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools' (/home/********/brix_venv/vizx_dashboards/lib/python3.7/site-packages/werkzeug/debug/tbtools.py)
@aiqc
Copy link
Contributor

aiqc commented Mar 31, 2022

Verified that downgrading the dependency from 2.1.0 to 2.0.3 also fixes JupyterDash.
pip install --upgrade Werkzeug==2.0.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants