Error displaying widget

See original GitHub issue

To setup ipyvolume, I ran the following commands on a fresh python 3.7 virtualenv on ubuntu 16.04:

pip install -U jupyterlab jupytext ipyvolume
jupyter serverextension enable jupytext
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install ipyvolume
jupyter labextension install jupyter-threejs
jupyter lab build

After attempting to use ipyvolume scatter in jupyter lab, I received the following error:

Error displaying widget
Error displaying widget: model not found

After jupyter lab build again:

Error displaying widget
Loading widget...

Anyone else having issues? I just noticed this after having used ipyvolume consistently before, so assuming an updated to jupyterlab broke something.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:15

github_iconTop GitHub Comments

6reactions
pratulyabcommented, Sep 6, 2020

I was able to resolve this for jupyterlab 2.1.4 by installing:

  • latest ipyvolume release

    • pip install ipyvolume==0.6.0a6 (pre-release)
  • bqplot

    • pip install bqplot
    • jupyter labextension install bqplot

Packages’ versions:

  • Python packages:
    • jupyterlab==2.1.4
    • jupyterlab-server==1.2.0
    • ipywidgets==7.5.1
    • bqplot==0.12.17
  • labextensions (enabled npm packages)
1reaction
codeniecommented, Sep 2, 2021

I use jupyterlab3 and meet the same problem. However, the same code works in jupyter notebook. Thus, one possible solution: launch classic jupyter notebook and run your code again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

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' on jupyterlab using jupyterhub #2514
I am getting the "Error displaying widget" error as shown in screenshot below. The error in chrome Javascript console is as shown below....
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 >
Error displaying widget: model not found -- how to fix this?
'Error displaying widget: model not found'. I tryed in jupyterlab2.x. It works. Does anyone knows how to fixed this problem.It will be very ......
Read more >
Issue with stackview inside JupyterLab - "Error displaying widget
Hi, i just wanted to test the really cool stackview package inside a juypter notebook but encountered a problem which I could solve...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found