Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

distutils is deprecated and removed in python3.12 #521

Open
PhilipDeegan opened this issue Sep 14, 2024 · 1 comment
Open

distutils is deprecated and removed in python3.12 #521

PhilipDeegan opened this issue Sep 14, 2024 · 1 comment

Comments

@PhilipDeegan
Copy link

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

@PhilipDeegan
Copy link
Author

I don't need the python bindings so I just disabled it in cmake config with -DBUILD_PYTHON_BINDINGS=OFF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant