我正在尝试运行以下命令: npm install -g bower gulp cordova ionic tsd@next karma-cli protractor node-gyp coffee-script js-beautify typescript npm-check
我已经安装了Python,Visual Studio Express和node-gyp,因此我认为可以,但是出现以下错误:
关于"Can't find Python executable "python", you can set the PYTHON env variable."
错误,我有点困惑,因为我将PYTHON环境变量设置如下:
有什么想法吗?
您必须将python添加到PATH变量中。您可以做的一件事是立即编辑Path变量并添加
;%PYTHON%;
您的变量PYTHON应该指向python安装的根目录。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句