[Python] geemap not rendering with vscode

Discussão em 'Python' iniciado por Stack, Julho 7, 2025.

  1. Stack

    Stack Membro Participativo

    I am using vscode with jupyter note book on a Ubuntu 24.04.2 LTS os. I cannot get maps from geemap to display.

    When I run this

    M1 = geemap.Map()
    M1.centerObject(aoi, 11)

    M1


    Nothing renders. M1 output

    I found this

    jupyter nbextension install --py --symlink --sys-prefix ipyleaflet
    jupyter nbextension enable --py --sys-prefix ipyleaflet



    but I get the error

    ModuleNotFoundError: No module named 'notebook.nbextensions'


    I tried this :

    pip install --force-reinstall notebook ipywidgets ipyleaflet geemap



    I also cannot get the widgets to render.

    import ipywidgets as widgets
    widgets.IntSlider()


    widgets slider output Does anyone have any suggestions, or workarounds?

    Continue reading...

Compartilhe esta Página