install gdal in anaconda code example
Example 1: conda install gdal
conda install -c conda-forge gdal
Example 2: conda install gdal
conda create -n gdal python=3.8
conda install -c conda-forge gdal
conda create -n gdal python=3.8