解决:Error: Can't find Python executable "python", you can set the PYTHON env variable

偏执的太偏执、 2021-09-23 08:08 379阅读 0赞

npm install时报错:

  1. Error: Can't find Python executable "python", you can set the PYTHON env variable

上网查了好多方法,基本都不好用。以下方法亲测好用

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

以管理员方式打开PowerShell

执行

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

发表评论

表情:
评论列表 (有 0 条评论,379人围观)

还没有评论,来说两句吧...

相关阅读