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

Failed to install under Python 3.12 #5

Open
dobedobedo opened this issue Jun 11, 2024 · 0 comments
Open

Failed to install under Python 3.12 #5

dobedobedo opened this issue Jun 11, 2024 · 0 comments

Comments

@dobedobedo
Copy link

distutils is deprecated in Python 3.12, but the setup.py file still uses this module.

python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-0opca0op/xleaf_d0d9acdf536d423eb7ab0e31ce5fcda9/setup.py", line 3, in <module>
          from numpy.distutils.core import Extension, setup
      ModuleNotFoundError: No module named 'numpy.distutils'
      [end of output]
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