Python 3.6 error import osgeo

by sorryMike   Last Updated May 16, 2018 14:22 PM

I'm trying to install GDAL osgeo lib into Python 3.6 on Debian Stretch

I installed neccessary packages like:

sudo apt-get update && sudo apt-get install -y \
  binutils \
  libproj-dev \
  gdal-bin \
  libgdal-dev \
  python3-gdal \
  python3-pip \
  python-numpy \
  python-dev \

That installation works for Python 2.7 and Python <= 3.5.

But in interpreter I'm receiving following error:

>>> import osgeo
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'osgeo'

Do you know any solution for fixing that?

Tags : python gdal osgeo


Related Questions


gdal_translate does not crop the GeoTIFF file

Updated January 21, 2019 00:22 AM


GDAL/OGR Geometry Type Python

Updated June 30, 2017 07:22 AM

GetRasterBand() method for gdal in Python

Updated December 27, 2018 09:22 AM

Importing osgeo module in Ubuntu 10.04

Updated June 11, 2017 16:22 PM