Changes between bookworm and sid: cmake 3.25.1:
``Python_SITELIB`` Third-party platform independent installation directory. Information returned by ``distutils.sysconfig.get_python_lib(plat_specific=False,standard_lib=False)`` or else ``sysconfig.get_path('purelib')``. ``Python_SITEARCH`` Third-party platform dependent installation directory. Information returned by ``distutils.sysconfig.get_python_lib(plat_specific=True,standard_lib=False)`` or else ``sysconfig.get_path('platlib')``. cmake 3.27.0: ``Python_SITELIB`` Third-party platform independent installation directory. Information returned by ``sysconfig.get_path('purelib')``. ``Python_SITEARCH`` Third-party platform dependent installation directory. Information returned by ``sysconfig.get_path('platlib')``. On bookworm distutils is still used which returns: >>> distutils.sysconfig.get_python_lib( plat_specific=False, standard_lib=False, ) '/usr/lib/python3/dist-packages' On sid sysconfig is used which results: >>> sysconfig.get_path('platlib') '/usr/local/lib/python3.11/dist-packages' To get the right path for the Debian python3 interpreter, you need to add 'deb_system': >>> sysconfig.get_path('platlib', 'deb_system') '/usr/lib/python3/dist-packages' Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1