NVM install, changing Python version for Node.js configure

·

1 min read

The message you ran into:

Node.js configure: Found Python 3.11.4...

Please use python3.9 or python3.8 or python3.7 or python3.6 or python3.5 or python2.7.

Solution:

# install pyenv if you don't have it and an approved version
$ pyenv install 3.9
$ pyenv global 3.9.17

You can proceed to run the nvm command or whatever you were doing and it should work now.