npm install时报错:
Error: Can't find Python executable "python", you can set the PYTHON env variable
上网查了好多方法,基本都不好用。以下方法亲测好用
npm install --global --production windows-build-tools
以管理员方式打开PowerShell
执行
npm install --global --production windows-build-tools