Hello, apologies as this is not so much a GDAL but a python question, but
I'm interested in what others do, hopefully I'm missing a key step that's
not hacky :)

I made a gist to record the details:

https://gist.github.com/mdsumner/526af876cfddaa5ff245ab376b3cec84

The crux is,  GDAL has placed the python osgeo lib files into
'/usr/local/lib/python3/dist-packages', but python is only looking in
'/usr/local/lib/python3.10/dist-packages' (as seen in sys.path).

Is there a config step with cmake, or a subsequent step with python config
that I should be doing?

Is it GDAL_PYTHON_INSTALL_PREFIX ?

Thank you.


-- 
Michael Sumner
Software and Database Engineer
Australian Antarctic Division
Hobart, Australia
e-mail: [email protected]
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to