Сейчас лежат тут: /usr/lib/python3/site-packages/nanobind/cmake А надо бы переложить в /usr/share/cmake Иначе вылезает ошибка: CMake Error at CMakeLists.txt:483 (find_package): By not providing "Findnanobind.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "nanobind", but CMake did not find one. Could not find a package configuration file provided by "nanobind" with any of the following names: nanobindConfig.cmake nanobind-config.cmake Add the installation prefix of "nanobind" to CMAKE_PREFIX_PATH or set "nanobind_DIR" to a directory containing one of the above files. If "nanobind" provides a separate development package or SDK, be sure it has been installed.
С nanobind это не работает. В качестве правильного примера использования nonobind для сборки можно посмотреть python3-module-soxr.