I am having a brutal time getting gdal installed. I have a fresh install of Ubuntu Mint with a virtualenv Python 3.6 environment that I am trying to get GDAL installed on. After
I solved it via:
gdal-bin
and libgdal-dev
:sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
sudo apt update
sudo apt upgrade
sudo apt install gdal-bin libgdal-dev
My gdal version was 2.2.3, so maybe specifically install that one if this does not work.
pip install --global-option=build_ext --global-option="-I/usr/include/gdal" GDAL==`gdal-config --version`