Loading widget... and/or Error displaying widget: model not found
See original GitHub issueHi, I’ve encounter an error on bqplot after updating widegts. Figure/table widgets work as expected; however, bqplot only works in voila preview and when using regular notebook. In JLab i either get a never ending loading or error displaying widget. I’ve tried uninstalling/re-installing bqplot, jupyterlab manager, testing sliders (some work), etc… Any ideas what it could be? I have the following configurations: Any help appreciated. Thanks!
JupyterLab v1.0.2
Known labextensions:
app dir: /Users/Me/miniconda3/envs/JupyterProjects/share/jupyter/lab
@jupyter-voila/jupyterlab-preview v0.1.0 enabled OK
@jupyter-widgets/jupyterlab-manager v1.0.1 enabled OK
bqplot v0.5.0-alpha.2 enabled OK
jupyterlab-chart-editor v1.2.0 enabled OK
jupyterlab-plotly v1.0.0 enabled OK
plotlywidget v1.0.0 enabled OK
Error displaying:
manager.js:251 Uncaught (in promise) Error: Module bqplot, semver range ^0.4.6 is not registered as a widget module
at WidgetManager.loadClass (manager.js:251)
at WidgetManager.<anonymous> (manager-base.js:263)
at step (manager-base.js:44)
at Object.next (manager-base.js:25)
at manager-base.js:19
at new Promise (<anonymous>)
at push.hs2k.__awaiter (manager-base.js:15)
at WidgetManager.push.hs2k.ManagerBase._make_model (manager-base.js:257)
at WidgetManager.<anonymous> (manager-base.js:246)
at step (manager-base.js:44)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:12
Top Results From Across the Web
Loading widget... and/or Error displaying widget: model not ...
Hi, I've encounter an error on bqplot after updating widegts. Figure/table widgets work as expected; however, bqplot only works in voila ...
Read more >Error displaying widget; model not found: 5 Fixes
In this article, we're talking about the “Error displaying widget: model not found” problem when using Jupyter Labs in Python.
Read more >Error displaying widget: model not found -- how to fix this?
So as to use Stacked, I installed version 8: > pip uninstall ipywidgets > pip install ipywidgets==8.0.0b But upon displaying a Stacked ...
Read more >Jupyter-matplotlib: Error displaying widget: model not found
Solved! Turned out ipywidget 7.5 breaks jupyter lab and it isaffecting other libraries too. https://github.com/plotly/plotly.py/issues/1659.
Read more >Issue with stackview inside JupyterLab - "Error displaying widget
... notebook but encountered a problem which I could solve so far. ... inside JupyterLab - "Error displaying widget: model not found".
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI I just fixed this issue on my side using
sudo jupyter labextension install bqplot@0.4.6
. Bqplot charts now correctly display in both JL and JNB. This was suggested in #885 . Thanks!Installing
bqplot
frommaster
works for me, as I am just trying to build a prototype right now anyway:If you’re relying on any kind of stability though, you might want to wait for a release.