Here are steps to install GDAL in Anaconda with python bindings.
- Download and Install Anaconda (or Miniconda for minimal setup) For Windows a shortcut to anaconda prompt will be created in the start menu which should open command prompt with conda activated. In Linux you will be asked to make conda automatically start whenever bash starts. You can also activate it manually.
- (Optional. You can skip this if you want to only use base) Create a Conda environment with python.
conda create -n geospatial python=3.9