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

后端 未结 8 1813
夕颜
夕颜 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:30

    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.

提交回复
热议问题