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/OGR Geometry Type Python

Updated June 30, 2017 07:22 AM

Importing osgeo module in Ubuntu 10.04

Updated June 11, 2017 16:22 PM

.DEM files unsupported with OSGEO?

Updated October 15, 2017 09:22 AM

Clipping GeoTIFF file by GeoJSON?

Updated June 25, 2016 08:09 AM