during installation it seems if python is detected, and you're on python3.12, it will fail
-- Installing: /home/runner/work/flann/flann/share/flann/python/pyflann/exceptions.py
-- Installing: /home/runner/work/flann/flann/share/flann/python/setup.py
Traceback (most recent call last):
File "/home/runner/work/flann/flann/build/src/python/setup.py", line 3, in <module>
from distutils.core import setup
ModuleNotFoundError: No module named 'distutils'
you can see the action log here