Replies: 4 comments 1 reply
-
What operating system are you using? |
Beta Was this translation helpful? Give feedback.
-
Operating System: Ubuntu 22.04.4 LTS
Kernel: Linux 5.15.0-124-generic
Architecture: x86-64
|
Beta Was this translation helpful? Give feedback.
-
This is an ipyleaflet issue rather than a geemap issue. Have you tried installing it using a local Jupyter environment rather than the JupyterLab server? Try the following to install ipyleaflet without geemap. If the same issue occurs, then it is an ipyleaflet issue. Take a look at jupyter-widgets/ipyleaflet#1034 for some inspiration. conda create -n geo python=3.12
conda activate geo
conda install ipyleaflet jupyterlab -c conda-forge
jupyter lab |
Beta Was this translation helpful? Give feedback.
-
I’ve been able to solve the issue using the solution proposed by maartenbreddels installaing solara
It works not smootly.
Thankjs for the appreciated help
Greg
|
Beta Was this translation helpful? Give feedback.
-
Dear All,
I'm having an issue trying to install geemap on our new JupyterLab server.
I did the following commands:
conda create -n gee python=3.11
conda activate gee
conda install geemap -c conda-forge
python -m ipykernel install --user --name=gee
However, when I run a simple script
import ee, geemap
Map = geemap.Map()
Map
Then I got the ofen reported issue of ""Failed to load model class 'LeafletMapModel' from module 'jupyter-leaflet’” as in:
#2027
I did many tests with many different solutions but none of them was successful.
Do you have an idea/suggestion to solve this issue?
Thanks in advance for your appreciated help
Greg
Beta Was this translation helpful? Give feedback.
All reactions