Pydeck (jupyter lab) does not work together with keplergl
See original GitHub issueI can’t seem to get both keplergl
and pydeck
widgets to work in JupyterLab at the same time
keplergl alone works fine
pip install keplergl==0.2.1 && jupyter labextension install keplergl-jupyter@0.2.1
import keplergl
display(keplergl.KeplerGl()) # Displays map
pydeck alone works fine
pip install pydeck==0.4.1 && jupyter labextension install @deck.gl/jupyter-widget@8.2.7
import pydeck
display(pydeck.Deck(mapbox_key='...').show()) # Displays map
keplergl and pydeck at the same time does not work
pip install keplergl==0.2.1 && jupyter labextension install keplergl-jupyter@0.2.1
pip install pydeck==0.4.1 && jupyter labextension install @deck.gl/jupyter-widget@8.2.7
import pydeck
display(pydeck.Deck(mapbox_key='...').show()) # Error displaying widget: model not found
import keplergl
display(keplergl.KeplerGl()) # Displays map
Reversing installation order reverses the problem:
pip install pydeck==0.4.1 && jupyter labextension install @deck.gl/jupyter-widget@8.2.7
pip install keplergl==0.2.1 && jupyter labextension install keplergl-jupyter@0.2.1
import pydeck
display(pydeck.Deck(mapbox_key='...').show()) # Displays map
import keplergl
display(keplergl.KeplerGl()) # Error displaying widget: model not found
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
[Bug][Jupyter Widget] Error displaying widget: model not found
show() in a Jupyter Lab cell returns Error displaying widget: model not found . A work-around in pydeck is to run deck.to_html() and...
Read more >Installing pydeck - Read the Docs
Install the library via pip or conda; Enable pydeck for JupyterLab or Jupyter Notebook ... Currently Google Maps is not supported for 3D...
Read more >Error when visualizing data in kepler gl in jupyter notebook
I want to visualize data on a kepler gl map using a jupyter notebook. ... Is there a problem with the Pandas DataFrame...
Read more >Geospatial Analysis using Kepler gl and Pydeck | Kaggle
Our Aim is to do Geospatial analysis using Kepler Gl and Pydeck,A framework that helps to visualize Big data on Map .
Read more >Get Started - geemap
An interactive map created using one of the plotting backends can be displayed in a Jupyter environment, such as Google Colab, Jupyter Notebook,...
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
@ajduberstein
Broken environment (
jupyter labextension list
):Working environment (
jupyter labextension list
):Notice
@jupyter-widgets/jupyterlab-manager
, which has different major versions (and is a dependency ofkeplergl-jupyter
and@deck.gl/jupyter-widget
).FYI I tried this out and I see in the browser console:
At first glance it looks like that’s the cause of the
widget model not found
errors.