尝试使用以下命令安装 windows-build-tools
npm install -g --production windows-build-tools
但似乎它在安装 python2.7 后挂起。我已经等了将近 30 分钟,但没有继续前进。有什么解决办法??
---------- Visual Studio 构建工具 ---------- [021C:1D04][2021-03-24T19:18:58]i000: MUX: Next Source: Web, Attempted :1,限制:3 [021C:1D04][2021-03-24T19:18:58]i000:MUX:检索到的源:Web [021C:1D04][2021-03-24T19:18:58]i000:MUX: Package:VC_CRT_ARM_Desktop, PayloadId:cab41658CA9BF562A2EE31DDCEC6EE7ABBF Url: http://go.microsoft.com/fwlink/?prd=12514&pver=Dev14&sbp=d14rel&plcid=0x409&clcid=0x409&ar=25420.01&sar=S80_RCPrep&o1=862E760128D21CD3AB6F447CFCCFAF6A928536F0, Attempting count: 1 [021C:1D04] [2021-03-24T19:18:58]i000: MUX: Existing last unconfirmed source: Web [021C:1D04][2021-03-24T19:18:58]i338: Acquiring package: VC_CRT_ARM_Desktop, payload: cab41658CA9BF562A2EE31DDCEC6EE7ABBF, 下载自:http://go.microsoft.com/fwlink/?prd=12514&pver=Dev14&sbp=d14rel&plcid=0x409&clcid=0x409&ar=25420.01&sar=S80_RCPrep&o1=862E760128D21CD3AB6F447CFCCFAF6A928536F0 -------------------- Python -------------------- 安装成功蟒蛇 2.7