I am trying “npm install” and the installation is not finished for the error below.. I tried to first install the version of node-gyp@3.8.0 but is not changed anything I tried to install the current version and i take the same problem as before. Thanks in advance Answer You should install python2.7 to your os
Tag: node-gyp
Cannot change the default python version used by the node-gyp?
When i run the the command the node-gyp rebuild command I get the following error: I have tried to change the node-gyp default python version like below: Command : node-gyp rebuild –python=/home/rando/.pyenv/versions/2.7.18/bin Command : node-gyp rebuild –python=2.7 Command : node-gyp rebuild –python=2.7.18 And all comand resulted with the same Error. They are using python3 instead of python passed to configuration.