gee-community/geemap

Jupyter lab cannot display the map normally after updating

zwy1502 opened this issue · 2 comments

Environment Information

<html>
<body>
<!--StartFragment-->
Fri Jan 12 18:05:21 2024 **标准时间
--
OS | Windows | CPU(s) | 20 | Machine | AMD64
Architecture | 64bit | RAM | 15.7 GiB | Environment | Jupyter
Python 3.11.7 \| packaged by conda-forge \| (main, Dec 23 2023, 14:27:59) [MSC v.1937 64 bit (AMD64)]
geemap | 0.30.2 | ee | 0.1.385 | ipyleaflet | 0.17.0
folium | 0.13.0 | jupyterlab | 4.0.10 | notebook | 7.0.6
ipyevents | 2.0.2 | geopandas | 0.14.2 | localtileserver | 0.7.1

<!--EndFragment-->
</body>
</html>

Description

After I updated jupyter lab, I couldn't display the map normally. I don't know what happened. Instead of reporting an error, the Error displaying widget was displayed.

What I Did

import geemap
import ee
geemap.set_proxy(port='4780')
Map = geemap.Map()
Map

The above code will display: Error displaying widget instead of loading the map normally. Teachers, what should I do? Thank you so much.

Create a new conda env to install geemap

conda create -n gee python=3.11
conda activate gee
conda install geemap -c conda-forge

Create a new conda env to install geemap创建一个新的 conda env 来安装 geemap

conda create -n gee python=3.11
conda activate gee
conda install geemap -c conda-forge

谢谢你吴老师,问题已经解决了,非常感谢!