Support

Dash Error - ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools'

Follow

 

Problem: The Dash application error below occurs when using versions dash<2.3.1 and werkzeug>=2.1.0. 

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

Root Cause:  The root cause of this issue is discussed in GitHub issue #1992 at https://github.com/plotly/dash/issues/1992.

Solutions:

Outcome: This issue is resolved by upgrading dash from https://github.com/plotly/dash

Further reading:  https://github.com/pallets/werkzeug/issues/2362

Comments