Error loading dependencies (Only on Windows)

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

Is there any errors or other output in the terminal running the app?

Or errors being printed to the dev tools console? (F12 will open this up)

There is no error in the Windows terminal.

I found this error in the Chrome devtools console.

Could you pip install -U dash and try again?

Thank you. dash version 0.37.0 solved this problem.

1 Like