Andrew,
Perhaps you're running updated GDAL Python bindings against a libgdal
that hasn't been rebuilt recently? OSRIsDerivedProjected() has been
added recently both in libgdal and the bindings
Even
Le 29/04/2024 à 23:27, Andrew Bell via gdal-dev a écrit :
Hi,
I just merged master into my branch and I'm now getting an error when
trying to run a test. If someone might know what happened, I'd
appreciate a tip.
(gdal) [master] $ pytest -v autotest/utilities/test_gdal_viewshed.py
ImportError while loading conftest
'/Users/abell/gdal.2/build/autotest/conftest.py'.
autotest/conftest.py:9: in <module>
from osgeo import gdal, ogr, osr
swig/python/osgeo/gdal.py:3942: in <module>
from . import ogr
swig/python/osgeo/ogr.py:608: in <module>
from . import osr
swig/python/osgeo/osr.py:13: in <module>
from . import _osr
E ImportError:
dlopen(/Users/abell/gdal.2/build/swig/python/osgeo/_osr.cpython-312-darwin.so
<http://osr.cpython-312-darwin.so>, 0x0002): symbol not found in flat
namespace '_OSRIsDerivedProjected'
--
Andrew Bell
andrew.bell...@gmail.com
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev