Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 651 Bytes

File metadata and controls

35 lines (25 loc) · 651 Bytes

GDAL Installation

The easiest path on all platforms is conda:

conda install -c conda-forge gdal

To verify the install worked:

python -c "from osgeo import gdal; print(gdal.__version__)"

Linux (apt)

sudo apt-get install gdal-bin libgdal-dev
pip install gdal==$(gdal-config --version)

macOS (Homebrew)

brew install gdal
pip install gdal==$(gdal-config --version)

Using a Jupyter kernel with this environment

conda info --envs          # confirm environment name
conda activate crop-cls
python -m ipykernel install --user --name crop-cls --display-name "Python (crop-cls)"