Skip to content Skip to sidebar Skip to footer

Gdal Virtualenv Python 3.6 Installation

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 wo

Solution 1:

I solved it via:

install the newest version of 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.

install using pip3:

pip install --global-option=build_ext --global-option="-I/usr/include/gdal" GDAL==`gdal-config --version`

Post a Comment for "Gdal Virtualenv Python 3.6 Installation"