[gdal-dev] question about python installation

Michael Sumner mdsumner at gmail.com
Tue Mar 7 17:19:39 PST 2023


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: mdsumner at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230308/c882d582/attachment.htm>


More information about the gdal-dev mailing list