安装node环境,使用vue创建项目时和使用npm install安装时报错
问题:Can't find Python executable python you can set the PYTHON env variable
解决:
以管理员方式打开PowerShell
执行
npm install --global --production windows-build-tools
打开PowerShell的方式:
问题:Can't find Python executable python you can set the PYTHON env variable
解决:
以管理员方式打开PowerShell
执行
npm install --global --production windows-build-tools
打开PowerShell的方式: