TODAY learn how to bring Drag & Drop to Dash with Dashboard Engine. 🌠 Sign up for the live event!

Error loading dependencies - just upgraded to new version to dash

My application worked fine until a few minutes ago. I upgraded the following:

pip install dash==0.36.0 
pip install dash-html-components==0.13.5
pip install dash-core-components==0.43.0


The screen just says Error loading dependencies. I can't figure out what happened. The application is straightforward. It has three tabs. Each tab has a datatable and a line chart. Nothing crazy.

Has anyone seen this? What were the previous versions of dash, dash-html-components and dash-core-components? I have to get this working.

I just re-installed the older versions of that I was using:

  1. Dash 0.35.2
  2. Dash-html-components 0.13.2
  3. Dash-core-components 0.42.1

Everything works fine. In doing some analysis of my code, the tabs worked fine. The problem seemed to be with the datatables and graphs.

I have the same issue. Tried to find a minimal working example, but It fails as soon as a callback for the graph data is added.

Summary

#!/usr/bin/python

import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output

app = dash.Dash()

app.layout = html.Div(
html.Div([
html.H4(‘TERRA Satellite Live Feed’),
dcc.Graph(id=‘plot1’),
dcc.Interval(
id=‘interval-component’,
interval=1*1000, # in milliseconds
n_intervals=0
)
])
)

@app.callback(Output(‘plot1’, ‘figure’), [Input(‘interval-component’, ‘n_intervals’)])
def gen_plot(n):
figure = {
‘data’: [
{‘x’: [1, 2, 3], ‘y’: [4, 1, 2], ‘type’: ‘bar’, ‘name’: ‘SF’},
{‘x’: [1, 2, 3], ‘y’: [2, 4, 5], ‘type’: ‘bar’, ‘name’: u’Montréal’},
],
‘layout’: {
‘title’: ‘Dash Data Visualization’
}
}
return figure

app.run_server(host=“0.0.0.0”,debug=True)

Ok. found the issue. The dash_renderer has not been updated. Updating it from 0.16.2 to 0.17.0 fixed the issue.