Skip to main content

Command Palette

Search for a command to run...

NVM install, changing Python version for Node.js configure

Published
1 min read
H

A dev with 6+ years working professionally with Masters in IT/Database System.

I Mainly work with Spring/Java, Angular, React/Next.js along with relational db, AWS and other things involved in web application. Recently working with Flutter and Flask/Python/GraphQL

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.