gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.

Error: Can’t find Python executable “python”, you can set the PYTHON env variable.

解决办法
1、安装windows-build-tools
npm install --global --production windows-build-tools
2、安装node-gyp
npm install --global node-gyp

你可能感兴趣的:(gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.)