[gdal-dev] Fwd: Missing _gdal_array.py, fail to import in Ubuntu 18.04

Imanol imanflow at gmail.com
Mon Sep 3 06:07:45 PDT 2018


Dear all,

I have been struggling with these for some days. Usually I always build
from source GDAL, it tends to give me better results than install packages.

But this time no, I have tried with `./configure', `./configure
--with-python' and `./configure --with-python=python3.6'. It seems to
compile and work, until I do `ReadAsArray()`, when it complains about the
missing `_gdal_array.py`. I tried to compile also numpy from source.

I don't write only to ask for a solution, but also to try to understand
what is this file since I can't find much info about it online.
`gdal_array,py` exists, but don't know what the missing one contains.

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180903/9219ee73/attachment.html>


More information about the gdal-dev mailing list