Earth Engine Account¶
Install from PyPI¶
Geemap is available on PyPI. To install geemap, run this command in your terminal:
Install from conda-forge¶
The geemap package has some optional dependencies, such as GeoPandas and localtileserver. These optional dependencies can be challenging to install on some computers, especially Windows. It is highly recommended that you create a fresh conda environment to install geemap. Follow the commands below to set up a conda env and install geemap:
1 2 3 4 5
All the optional dependencies are listed in requirements_all.txt, which can be installed using one of the following:
pip install geemap[all]: installing all optional dependencies listed in requirements_all.txt.
pip install geemap[backends]: installing keplergl, pydeck.
pip install geemap[lidar]: installing ipygany, ipyvtklink, laspy, panel, pyntcloud[LAS], pyvista.
pip install geemap[raster]: installing localtileserver, rio-cogeo, rioxarray, netcdf4, xarray_leaflet.
pip install geemap[sql]: installing psycopg2, sqlalchemy.
pip install geemap[streamlit]: installing streamlit-folium.
pip install geemap[vector]: installing geopandas, osmnx.
Optionally, you can install some Jupyter notebook extensions, which can improve your productivity in the notebook environment. Some useful extensions include Table of Contents, Gist-it, Autopep8, Variable Inspector, etc. See this post for more information.
Check the YouTube video below on how to install geemap using conda.
Install from GitHub¶
To install the development version from GitHub using Git, run the following command in your terminal:
If you have installed geemap before and want to upgrade to the latest version, you can run the following command in your terminal:
If you use conda, you can update geemap to the latest version by running the following command in your terminal:
To install the development version from GitHub directly within Jupyter notebook without using Git, run the following code:
You can also use Docker to run geemap: