Skip to content

Failed to install under Python 3.12 #5

@dobedobedo

Description

@dobedobedo

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions