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

setup.py imports from distutils (Python 3.12 fatal error) #263

Open
juliangilbey opened this issue Oct 18, 2023 · 0 comments
Open

setup.py imports from distutils (Python 3.12 fatal error) #263

juliangilbey opened this issue Oct 18, 2023 · 0 comments

Comments

@juliangilbey
Copy link
Contributor

juliangilbey commented Oct 18, 2023

The file setup.py imports from distutils.extension, which no longer exists in Python 3.12:

from distutils.extension import Extension

It should be sufficient to replace this with from setuptools import Extension.

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