Andrea,
Cf related https://github.com/OSGeo/gdal/pull/9174 that has been
backported in 3.8 branch (not in release yet) and which will completely
remove the use of lib2to3 in preparation of python 3.13 which will no
longer provide it.
But you should probably be able to solve your issue by just installing
the appropriate package which conveys lib2to3 since it is still part of
python 3.9. This is dependent of your distro. On Debian, it is called
"python3-lib2to3"
Een
Le 06/02/2024 à 00:00, andy via gdal-dev a écrit :
Hi,
I compile gdal 3.7 in this way:
mkdir -p build
cd build
cmake -D GDAL_USE_GEOS=ON -D OGR_ENABLE_DRIVER_PARQUET:BOOL=OFF -D
OGR_ENABLE_DRIVER_ARROW:BOOL=OFF ..
cmake --build .
sudo cmake --build . --target install
When I run "cmake --build ." I have this error:
Deprecated command line option: -py3. Ignored, this option is no
longer supported.
/usr/bin/python3.9: No module named lib2to3
How to solve this problem?
Thank you
--
___________________
Andrea Borruso
website: https://medium.com/tantotanto
38° 7' 48" N, 13° 21' 9" E, EPSG:4326
___________________
"cercare e saper riconoscere chi e cosa,
in mezzo all’inferno, non è inferno,
e farlo durare, e dargli spazio"
Italo Calvino
_______________________________________________
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