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

后端 未结 8 1970
夕颜
夕颜 2021-02-02 07:04

I\'m trying to run the following command: npm install -g bower gulp cordova ionic tsd@next karma-cli protractor node-gyp coffee-script js-beautify typescript npm-check

8条回答
  •  忘掉有多难
    2021-02-02 07:18

    Try:

    Install all the required tools and configurations using Microsoft's 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

提交回复
热议问题