pygeoapi is easy to install on numerous environments. Whether you are a user, administrator or developer, below are multiple approaches to getting pygeoapi up and running depending on your requirements.

Requirements and dependencies

pygeoapi runs on Python 3.

Core dependencies are included as part of a given pygeoapi installation procedure. More specific requirements details are described below depending on the platform.

For developers and the truly impatient

python -m venv pygeoapi
cd pygeoapi
. bin/activate
git clone
cd pygeoapi
pip install --upgrade pip
pip install -r requirements.txt
python install
cp pygeoapi-config.yml example-config.yml
vi example-config.yml  # edit as required
export PYGEOAPI_CONFIG=example-config.yml
export PYGEOAPI_OPENAPI=example-openapi.yml
pygeoapi openapi generate $PYGEOAPI_CONFIG > $PYGEOAPI_OPENAPI
pygeoapi serve
curl http://localhost:5000


PyPI package info

pip install pygeoapi


Using DockerHub

Docker image

docker pull geopython/pygeoapi:latest

Using GitHub Container Registry

Docker image

docker pull


Conda package info

conda install -c conda-forge pygeoapi


UbuntuGIS package (stable)

UbuntuGIS package (unstable)

apt-get install python3-pygeoapi


FreeBSD port

pkg install py-pygeoapi


Congratulations! Whichever of the abovementioned methods you chose, you have successfully installed pygeoapi onto your system.