#646 closed defect (fixed)
gdal_array missing from latest python bindings?
Reported by: | chau | Owned by: | |
---|---|---|---|
Priority: | critical | Component: | Package |
Version: | Keywords: | gdal python numpy | |
Cc: |
Description
I cannot run this command any more:
from osgeo import gdal_array?
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdal_array.py", line 17, in <module> _gdal_array = swig_import_helper() File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdal_array.py", line 16, in swig_import_helper return importlib.import_module('_gdal_array') File "C:\OSGEO4~1\apps\Python27\lib\importlib\__init__.py", line 37, in import_module __import__(name) ImportError: No module named _gdal_array
I cannot find any _gdal_array*.pyd
in my OSGeo folder related to Python 2.7, only for python 3.7.
Latest gdal seems to be 3.1.4rc2-1 and unlike all other gdal packages (which can revert back to 3.0.4-2), I cannot revert back to a previous version with exactly the packagegdal-python: The GDAL/OGR Python Bindings and Scripts
.
Has something gone wrong in the latest build?
Note:
See TracTickets
for help on using tickets.
because the update to 3.1.4 didn't reflect that python2 is _obsolete - moved to the _obsolete directory.