If you have issues where something suddenly stops working or if you can’t run examples pulled directly from the docs, the likely cause is that Dash is not properly installed with the correct versions of all of the libraries .
Note to conda users:
If you install Dash using conda install
without any other options, it installs an out-of-date version of dash-core-components and the dash renderer (and other things as well). The conda-forge channel is up-to-date, so try installing dash with :
conda install -c conda-forge dash=1.20
The OP is a good example. The version of dash 1.16.3 was the current version as of the date of the post last October, however all the other libraries are at least a year out-of-date
In the environment that’s running your app, check the version numbers of all libraries
Here’s the latest:
dash 1.20.0
dash-core-components 1.16.0
dash-daq 0.5.0
dash-html-components 1.1.3
dash-renderer 1.9.1
dash-table 4.11.3
And don’t forget about upgrading to the latest version of dash-bootstrap-components, and
if you haven’t tried dash-labs yet, I recommend installing that too and checking it out. It’s pretty cool!
dash-bootstrap-components 0.12.0
dash-labs 0.1.0