JupyterLab "Error displaying widget" when trying to display map
See original GitHub issueHere is the screenshot of the issue:
I only have ipyleaflet and jupyterlab-manager installed:
@jupyter-widgets/jupyterlab-manager v0.38.1 enabled OK
jupyter-leaflet v0.10.1 enabled OK
Reinstalling/googling didn’t help, not sure where to go from here.
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Map does not display in jupyterlab, "Loading widget ... - GitHub
I want to share my experience with the same error: "Error displaying widget: model not found" . After upgrading to Jupyterlab 3, for...
Read more >Error displaying widget: model not found (geemap)
I recently installed Jupyter Lab and have been trying to get a basic map to load with geemap. However, I get “Error displaying...
Read more >Jupyter Lab issue displaying widgets (javascript error)
That error is consistent with one noted here in an issue report recently. The suggestion there is to change to ipywidgets version 7.7.2...
Read more >Using the JupyterLab Environment | ArcGIS API for Python
1.8.2 of the Python API installed, 1.8.2 of the arcgis-map-ipywidget extension installed. jupyter labextension list will show you all versions of extensions ...
Read more >Installation - leafmap
If the interactive map does not show up on Jupyter Notebook and JupyterLab, it is probably because the ipyleaflet extentsion is not installed...
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
Somehow managed to solve it! (the issue was not related to refresh)
I was using the jupyterhub with multiple environments enabled (
nb_conda
extension). The root environment from which jupyterhub was launched hadipyleaflet==0.10.0
installed. I was trying to start ipyleaflet from a different environment withipyleaflet==0.10.1
installed, and that didn’t work.Installing the same version of ipyleaflet (
0.10.0
) to another environment has solved the problem, although I am not quite sure how.Also, thank you for your prompt responses!
Yeah this should work… Do you have base widgets working? Or do you encounter the issue only for ipyleaflet?