Hi,
Only on Windows this error occurs with @app.callback
in the following code.
On Ubuntu this error does not occur.
How can I inspect the reason of this error?
Error loading dependencies
import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output
external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
app = dash.Dash(__name__, external_stylesheets=external_stylesheets)
app.layout = html.Div([
dcc.Input(id='my-id', value='initial value', type='text'),
html.Div(id='my-div')
])
@app.callback(
Output(component_id='my-div', component_property='children'),
[Input(component_id='my-id', component_property='value')]
)
def update_output_div(input_value):
return 'You\'ve entered "{}"'.format(input_value)
if __name__ == '__main__':
app.run_server(debug=True)
I pip installed the following versions to both OS.
pip install dash==0.36.0
pip install dash-html-components==0.13.5
pip install dash-core-components==0.43.0
pip install dash-table==3.1.11
pip install dash-daq==0.1.0