安装需求原因:在安装依赖时总是报错,you need to install the latest version of python 或者 python is not find
借鉴源文章
1. 第一步 安装node-gyp
npm install -g node-gyp
2.安装python
npm install --global --production windows-build-tools
3.第三步 、配置环境变量(后面的路径是python的路径,第二个可以不用)
npm config set python "D:\Python27\python.exe"
npm config set node_gyp "D:\nodejs\node_modules\npm\node\node_modules\node-gyp\bin\node-gyp.js"