Skip to content
Advertisement

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.

Advertisement