找了一大堆,说什么重新装node.js 用下面的方法成功解决 npm install --python=python2.7 #先下载 npm config set python python2.7 #再设置环境