I have been struggling to install gdal package for python with pip on windows. you can not just input pip install gdal on python console. Here you can use this way: conda create -n gdalpip python=3.9 ...
FROM windpioneers/gdal-python:statutory-crow-gdal-2.4.1-python-3.8-slim as base # Upgrade to latest pip and setuptools RUN pip install --upgrade pip setuptools But we ...