0
I recently installed dash and I’m trying to run a basic dash code. However, I’m getting a specific import error which is stemming from Werkzeug (I don’t even know what werkzeug is). I’ve tried downgrading werkzeug to the prior version (0.16.0) as other people said but this did not work. Any advice would be greatly appreciated as I’ve spent a lot of time trying to figure this out. Please see the traceback below:
‘’’
ImportError Traceback (most recent call last) in ----> 1 import dash_core_components as dcc 2 import dash_html_components as html 3 import plotly.express as px 4 import pandas as pd 5
~\Anaconda3\AppData\Local\Anaconda3\lib\site-packages\dash_core_components_ init _.py in 4 import os as _os 5 import sys as _sys ----> 6 import dash as _dash 7 8 _basepath = _os.path.dirname( file )
~\Anaconda3\AppData\Local\Anaconda3\lib\site-packages\dash_ init _.py in ----> 1 from .dash import Dash, no_update # noqa: F401 2 from . import dependencies # noqa: F401 3 from . import development # noqa: F401 4 from . import exceptions # noqa: F401 5 from . import resources # noqa: F401
~\Anaconda3\AppData\Local\Anaconda3\lib\site-packages\dash\dash.py in 20 import flask 21 from flask_compress import Compress —> 22 from werkzeug.debug.tbtools import get_current_traceback 23 24 import plotly
~\Anaconda3\AppData\Local\Anaconda3\lib\site-packages\werkzeug\debug\tbtools.py in 29 from …utils import cached_property 30 from …utils import escape —> 31 from .console import Console 32 33
~\Anaconda3\AppData\Local\Anaconda3\lib\site-packages\werkzeug\debug\console.py in 15 from …local import Local 16 from …utils import escape —> 17 from .repr import debug_repr 18 from .repr import dump 19 from .repr import helper
ImportError: cannot import name ‘debug_repr’ from ‘werkzeug.debug.repr’ (C:\Users\tishll\Anaconda3\AppData\Local\Anaconda3\lib\site-packages\werkzeug\debug\repr.py)’’’