Bug#853900: python3-gdal: ImportError on gdal_array module

Sebastiaan Couwenberg sebastic at xs4all.nl
Wed Feb 1 21:21:48 UTC 2017


Control: tags -1 upstream help

On 02/01/2017 09:50 PM, Teemu Ikonen wrote:
> Trying to import osgeo.gdal_array module results in this:
> 
> $ python3 -c "import osgeo.gdal_array"
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/usr/lib/python3/dist-packages/osgeo/gdal_array.py", line 168,
> in <module>
>     import _gdal_array
> ImportError: No module named '_gdal_array'

_gdal_array.cpython-35m-x86_64-linux-gnu.so exists and should be loaded,
but for some reason it's not. The other modules load fine though.

I'm a bit at a loss what's going wrong here. For now you should stick to
the Python 2 module with doesn't have this issue.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the Pkg-grass-devel mailing list