Error:Can‘t find Python executable“python“npm安装报错解决办法

今天爱分享给大家带来Error:Can‘t find Python executable“python“npm安装报错解决办法,希望能够帮助到大家。
npm安装依赖过程中,开始都很正常,最后报这个错:
Error: Can’t find Python executable “python”, you can set the PYTHON env variable

Error:Can‘t find Python executable“python“npm安装报错解决办法

解决方案:
1、安装windows-build-tools


npm install --global --production windows-build-tools

在这里有一个坑:在执行第一个语句的时候他会卡在

Error:Can‘t find Python executable“python“npm安装报错解决办法

这里可以换一个语句


npm install --global --production windows-build-tools@4.0.0

2、安装node-gyp


npm install --global node-gyp

原文链接:http://blog.itblood.com/7389.html,转载请注明出处。
0
欲望交响曲v0.6 AI版[PC+安卓/10.8G/更新]Symphony of Lust [v0.6] [真人SLG/汉化/动态]
欲望交响曲v0.6 AI版[PC+安卓/10.8G/更新]Symphony of Lust [v0.6] [真人SLG/汉化/动态]
刚刚 有人购买 去瞅瞅看

站点公告

显示验证码
没有账号?注册  忘记密码?