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

macos-latest-xlarge suddenly missing distutils #3231

Open
nkallen opened this issue Apr 5, 2024 · 0 comments
Open

macos-latest-xlarge suddenly missing distutils #3231

nkallen opened this issue Apr 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nkallen
Copy link

nkallen commented Apr 5, 2024

Describe the bug

distutils is used by node-gyp . It was previously installed on macOS-latest-xlarge but is suddenly missing.

I tried both

              sudo -H pip install setuptools

and

              pip install setuptools 

but I continue to get errors like

Traceback (most recent call last):
91
File "/Users/runner/hostedtoolcache/node/17.5.0/arm64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 42, in
92
import gyp # noqa: E402
93
^^^^^^^^^^
94
File "/Users/runner/hostedtoolcache/node/17.5.0/arm64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 9, in
95
import gyp.input
96
File "/Users/runner/hostedtoolcache/node/17.5.0/arm64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in
97
from distutils.version import StrictVersion
98
ModuleNotFoundError: No module named 'distutils'
99

@nkallen nkallen added the bug Something isn't working label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant