question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

“Error displaying widget: model not found” with Jupyter Lab

See original GitHub issue

I followed the pip installation instructions but get “Error displaying widget: model not found” in the lab. In the notebook it works fine. I tried to reinstall everything related but couldn’t get it to work. Is this a known issue?

Here are the version infos:

D:\dev>jupyter --version
jupyter core     : 4.7.1
jupyter-notebook : 6.2.0
qtconsole        : 5.0.2
ipython          : 7.20.0
ipykernel        : 5.4.3
jupyter client   : 6.1.11
jupyter lab      : 3.0.7
nbconvert        : 6.0.7
ipywidgets       : 7.6.3
nbformat         : 5.1.2
traitlets        : 5.0.5

D:\dev>jupyter nbextension list
Known nbextensions:
  config dir: c:\prog\python39\etc\jupyter\nbconfig
    notebook section
      jupyter-datawidgets/extension enabled
      - Validating: problems found:
        - require?  X jupyter-datawidgets/extension
      jupyter-matplotlib/extension enabled
      - Validating: ok
      k3d/extension enabled
      - Validating: ok
      jupyter-js-widgets/extension enabled
      - Validating: ok

D:\dev>jupyter nbextension list
Known nbextensions:
  config dir: c:\prog\python39\etc\jupyter\nbconfig
    notebook section
      jupyter-datawidgets/extension enabled
      - Validating: problems found:
        - require?  X jupyter-datawidgets/extension
      jupyter-matplotlib/extension enabled
      - Validating: ok
      k3d/extension enabled
      - Validating: ok
      jupyter-js-widgets/extension enabled
      - Validating: ok

D:\dev>jupyter labextension list
JupyterLab v3.0.7
        jupyter-matplotlib v0.8.3 enabled ok
        @jupyter-widgets/jupyterlab-manager v3.0.0 enabled ok (python, jupyterlab_widgets)

Other labextensions (built into JupyterLab)
        jupyterlab-datawidgets v7.0.0 enabled ok
        k3d v2.9.3 enabled ok

Uninstalled core extensions:
    @jupyter-widgets/jupyterlab-manager
    k3d

D:\dev>node --version
v14.15.5

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:16 (1 by maintainers)

github_iconTop GitHub Comments

12reactions
CagtayFabrycommented, Feb 22, 2021

are there any plans to update the extension to the new JupyterLab 3.x extension system? https://jupyterlab.readthedocs.io/en/stable/extension/extension_migration.html

This would also simplify installation for users

2reactions
cignonicommented, Nov 7, 2021

After a quick cleanup of installed pythons (uninstalled all pip packages and removed all python brew casks, I started to use pyenv and this time I installed jupyterlab and k3d only locally and everything worked. Thanks for suggesting that the local global clash could be the source of all the evil…

Just for future memory this worked for me:

brew install pyenv
echo 'eval "$(pyenv init --path)"' >> ~/.zprofile\n
pyenv install 3.9.7
cd mypythonexperiments
pyenv local 3.9.7
pip install jupyterlab
pip install k3d
jupyter-lab

So I can continue to play with pymeshlab using k3d as viewer…

Screenshot 2021-11-08 at 0 44 18 AM

Thanks again!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

“Error displaying widget: model not found” with Jupyter lab #112
I followed your installation instructions on a fresh python and jupyter setup with pip but end up with “Error displaying widget: model not...
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?
Error displaying widget: model not found '. I tryed in jupyterlab2.x. It works. Does anyone knows how to fixed this problem.
Read more >
Jupyter-matplotlib: Error displaying widget: model not found
https://github.com/matplotlib/jupyter-matplotlib. I get the error when executing a simple example: Error displaying widget: model not found
Read more >
Issue with stackview inside JupyterLab - "Error displaying widget
Issue with stackview inside JupyterLab - "Error displaying widget: model not found" · Usage & Issues · python, stackview.
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