Opened 3 years ago
Closed 3 years ago
Last modified 3 years ago
#646 closed defect (fixed)
gdal_array missing from latest python bindings?
|Reported by:||chau||Owned by:|
|Version:||Keywords:||gdal python numpy|
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 package
gdal-python: The GDAL/OGR Python Bindings and Scripts.
Has something gone wrong in the latest build?
Change History (1)
comment:1 by , 3 years ago
|Status:||new → closed|
Last edited 3 years ago by (previous) (diff)
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.