gyp ERR! stack Error: Can't find Python executable "D:\Python27", you can set th e PYTHON env variab

如题,网上很多解决方法,主要就是python要改成2.7,不能3.0的,

或者执行npm install --global --production windows-build-tools。

如果以上还不行... 检查环境变量, 我的问题是,环境变量设置在用户组,没有设置在系统变量。

注意!! 设置系统变量,非用户变量

猜你喜欢

转载自blog.csdn.net/zgf1991/article/details/89648569