gdal can't import ogr

342 views Asked by At

I've written a python script that runs fine on one computer. but can't import ogr from osgeo on another. Both machines running linux, and have gdal compiled from source and both include with-python=yes in the config.

I have tried both:

import ogr

and

from osgeo import ogr

as I understand it, I shouldn't have to install anything extra besides gdal itself and pyton of course.

0

There are 0 answers