OpenDroneMap / ODM

A command line toolkit to generate maps, point clouds, 3D models and DEMs from drone, balloon or kite images. 📷
https://opendronemap.org
GNU Affero General Public License v3.0
4.94k stars 1.12k forks source link

ValueError: numpy.ndarray size changed, may indicate binary incompatibility #1393

Closed pierotofy closed 2 years ago

pierotofy commented 2 years ago

Not sure why numpy (or rasterio?) decided to break overnight without any changes on our part, but oh well.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/dist-packages/rasterio/__init__.py", line 22, in <module>
    from rasterio._base import gdal_version
  File "rasterio/_base.pyx", line 1, in init rasterio._base
  File "rasterio/_shim.pyx", line 1, in init rasterio._shim
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Should be fixed with https://github.com/OpenDroneMap/ODM/commit/ab6986395eacdb2e9b3e128184644eba4d77c80b