Skip to content

install doesn't work with Python 3.12 on Windows #1093

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

Closed
davidcornish opened this issue Oct 27, 2023 · 1 comment
Closed

install doesn't work with Python 3.12 on Windows #1093

davidcornish opened this issue Oct 27, 2023 · 1 comment

Comments

@davidcornish
Copy link

davidcornish commented Oct 27, 2023

When installing with Python 3.12 installed on Windows I get:

npm ERR! ModuleNotFoundError: No module named 'distutils'

If I downgrade to Python 3.11 it installs fine.

Presumably due to https://docs.python.org/3.10/whatsnew/3.10.html#distutils-deprecated

@mceachen
Copy link
Member

mceachen commented Oct 27, 2023

This is an issue with node-gyp: run pip install setuptools and retry.

Details: nodejs/node-gyp#2915

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

No branches or pull requests

2 participants