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

Give mac developers feedback when yarn install fails for missing Python 3.10 dependency #59

Commits on Mar 23, 2024

  1. fix: give mac developers feedback when yarn install fails because o…

    …f an incorrect python dependency
    
    On macOS, this script checks if Python 3.10 is installed and accessible to node-gyp.
    
    I ran into a problem trying to `yarn` install, with a system Python version of `3.12.2`, but ran into the error `ModuleNotFoundError: No module named 'distutils'`. Since node-gyp relies on `distutils`, which is removed in Python `3.12`, you need to use a Python version that still includes `distutils`.
    jsnbuchanan committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    e8a570b View commit details
    Browse the repository at this point in the history