NPM error - “Can't find Python executable ”python“, you can set the PYTHON env variable.”

0 votes
382 views
added Aug 10, 2017 in NPM by LC Marshal Captain (25,790 points)
edited Jun 19, 2018 by LC Marshal
//For Windows you can install all node-gyp dependencies with single command (NOTE: Run As Admin in Windows PowerShell):
$ npm install --global --production windows-build-tools

//and then install the package
$ npm install --global node-gyp

See full documentation here: node-gyp (github.com/nodejs/node-gyp)

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...