ipydatagrid not displaying - Error displaying widget: model not found
See original GitHub issueCannot Display a ipydatagrid, instead get
Error displaying widget: model not found
To Reproduce Steps to reproduce the behavior: Create a dataframe Try to display it.
from ipydatagrid import DataGrid, TextRenderer, Expr
DataGrid(df, base_row_size=30, base_column_size=150, renderers=renderers)
Error in JS Console: Error: Module ipydatagrid, semver range ^1.1.6 is not registered as a widget module
Expected behavior Display Data grid
Environment (please complete the following information):
- Python 3.9 Debian based Docker Container
- Python 3.9.6
- ipython 7.28.0
- ipywidgets 7.6.5
- jupyter-client 7.0.6
- jupyter-core 4.8.1
- jupyter-server 1.11.1
- jupyterlab 3.2.1
- jupyterlab-server 2.8.2
- jupyterlab-wedgets 1.0.2
- ipydatagrid 1.1.6
Additional context
- Installed via %pip install ipydatagrid
# jupyter labextension list
JupyterLab v3.2.1
/usr/local/share/jupyter/labextensions
ipysheet v0.5.0 enabled OK (python, ipysheet)
jupyterlab-plotly v5.3.1 enabled OK
ipydatagrid v1.1.6 enabled OK
bqplot v0.5.32 enabled OK (python, bqplot)
qgrid2 v1.1.3 enabled OK (python, qgrid2)
@jupyter-widgets/jupyterlab-manager v3.0.1 enabled OK (python, jupyterlab_widgets)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Error displaying widget: model not found · Issue #228
after installing ipydatagrid and cloning the repo and trying to run the DataGrid example I get the following error: Error displaying widget: ...
Read more >jupyter lab 3 cannot display ipyaggrid
when trying to display an ipyaggrid object, i get: "Error displaying widget: model not found". the same notebook works fine in jupyter ...
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 >Error displaying widget: model not found Yesterday ...
Hi,. I'm facing that bug: Error displaying widget: model not found. Yesterday, happened with Sweetviz, then I copied others recent snippets to work....
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 Free
Top 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
After creating temp 3.8 environment, ipydatagrid worked fine for me. After that I’ve tried installing extensions one by one, none seemed to break it. Furthermore, when I’ve switched to my original environment, issue did not reproduce as well.
¯_(ツ)_/¯
Closing this for now, but feel free to reopen if something else comes up!