Hello! I am new to dash. I did pip installation according to the website. After “import dash” in python, the error message constantly pop. Please help!
ImportError Traceback (most recent call last)
in ()
----> 1 import dash
~/anaconda3/lib/python3.6/site-packages/dash/init.py in ()
----> 1 from .dash import Dash # 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/lib/python3.6/site-packages/dash/dash.py in ()
12 from functools import wraps
13
—> 14 import plotly
15 import dash_renderer
16 import flask
~/anaconda3/lib/python3.6/site-packages/plotly/init.py in ()
29 from future import absolute_import
30
—> 31 from plotly import (plotly, dashboard_objs, graph_objs, grid_objs, tools,
32 utils, session, offline, colors, io)
33 from plotly.version import version
~/anaconda3/lib/python3.6/site-packages/plotly/plotly/init.py in ()
8
9 “”"
—> 10 from . plotly import (
11 sign_in,
12 update_plot_options,
~/anaconda3/lib/python3.6/site-packages/plotly/plotly/plotly.py in ()
30 from plotly import exceptions, files, session, tools, utils
31 from plotly.api import v1, v2
—> 32 from plotly.basedatatypes import BaseTraceType, BaseFigure, BaseLayoutType
33 from plotly.plotly import chunked_requests
34
~/anaconda3/lib/python3.6/site-packages/plotly/basedatatypes.py in ()
10 from .optional_imports import get_module
11
—> 12 from . import offline as pyo
13 from _plotly_utils.basevalidators import (
14 CompoundValidator, CompoundArrayValidator, BaseDataValidator,
ImportError: cannot import name ‘offline’