首页 > 编程语言 > 详细

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

时间:2021-04-13 17:20:45      阅读:29      评论:0      收藏:0      [点我收藏+]

 

vue中安装node-sass
npm install node-sass --save-dev
1
出现上面图中问题

解决办法:
vscode里,打开终端,输入下面的内容
先输入(在管理员模式下打开)

npm install --global --production windows-build-tools
1
否则会提示:

Please restart thie script from a administrative PowerShell!
1
再输入

npm install --global node-gyp

原文链接:https://blog.csdn.net/caicsama/article/details/103679242

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

原文:https://www.cnblogs.com/onesea/p/14652768.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!