报错 “Can’t find Python executable “python”, you can set the PYTHON env variable”

安装windows-build-tools解决

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

安装报错Please restart this script from an administrative PowerShell,需要在管理员权限下运行

搜索cmd,然后右键“以管理员身份运行”再次运行