Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Examples in gallery display errors

Most examples in Dash gallery display the same error.
All on this page: (and many on other pages)
point out different lines that led to:
TypeError: __init__() takes exactly 1 argument (2 given)
I have upgraded plotly to 2.0.12 and all dash libraries to the last version.

Thanks for reporting @empet! I’m looking into this now.

I have a feeling that it might be do the fact that the prototype package called that installed into the dash namespace and it may still be invoked. Could you try:

pip uninstall
pip uninstall dash
pip uninstall dash-renderer
pip uninstall dash-html-components
pip uninstall dash-core-components
pip uninstall plotly
pip install dash==0.17.7
pip install dash-renderer==0.7.3
pip install dash-html-components==0.6.2
pip install dash-core-components==0.5.3
pip install plotly==2.0.12

Alternatively, try the installation in a fresh virtual env.

Let me know if that works!