node.js – npm – Cant find Python executable python, you can set the PYTHON env variable.

node.js – npm – Cant find Python executable python, you can set the PYTHON env variable.

Try:

Install all the required tools and configurations using Microsofts windows-build-tools by running npm install -g windows-build-tools from an elevated PowerShell (run as Administrator).

https://github.com/Microsoft/nodejs-guidelines/blob/master/windows-environment.md#environment-setup-and-configuration

https://github.com/nodejs/node-gyp#on-windows

https://github.com/Microsoft/nodejs-guidelines/blob/master/windows-environment.md#environment-setup-and-configuration

try

npm config set python D:LibraryPythonPython27python.exe

node.js – npm – Cant find Python executable python, you can set the PYTHON env variable.

You got to add python to your PATH variable. One thing you can do is Edit your Path variable now and add

;%PYTHON%;

Your variable PYTHON should point to the root directory of your python installation.

Leave a Reply

Your email address will not be published. Required fields are marked *