I’m creating a multi-page app and cannot import callback
from dash
using Dash 2.0.0. Is this a bug? The multi-page examples include the exact import statement and I cannot figure out what I’m doing wrong.
Here are the import statements in one of my pages:
import dash_core_components as dcc
import dash_html_components as html
import dash_bootstrap_components as dbc
from dash import callback
from dash.dependencies import Input, Output
Here’s the error:
ImportError: cannot import name 'callback' from 'dash'
Here are my dash-related packages:
dash 2.0.0 pypi_0 pypi
dash-bootstrap-components 1.0.2 pypi_0 pypi
dash-core-components 2.0.0 pypi_0 pypi
dash-html-components 2.0.0 pypi_0 pypi
dash-renderer 1.1.2 py_0
dash-table 5.0.0 pypi_0 pypi