Windows PowerShell 版权所有 © 2009 Microsoft Corporation。保留所有权利。
D:\我的资料库\Documents\GitHub> cd node-five D:\我的资料库\Documents\GitHub\node-five [master]> npm install -g npm WARN package.json node-five@0.0.1 No repository field. npm http GET https://registry.npmjs.org/node-qt/0.0.2 npm http GET https://registry.npmjs.org/shelljs/0.0.5pre4 npm http 304 https://registry.npmjs.org/shelljs/0.0.5pre4 npm http 304 https://registry.npmjs.org/node-qt/0.0.2
node-qt@0.0.2 install C:\Users\Administrator\AppData\Roaming\npm\node_modules
node-five\node_modules\node-qt node-gyp rebuild
C:\Users\Administrator\AppData\Roaming\npm\node_modules\node-five\node_modules\n ode-qt>node “C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\…\no de_modules\node-gyp\bin\node-gyp.js” rebuild gyp ERR! configure error gyp ERR! stack Error: Can’t find Python executable "python", you can set the PYT HON env variable. gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\nod e_modules\node-gyp\lib\configure.js:113:14) gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node -gyp\lib\configure.js:81:11 gyp ERR! stack at Object.oncomplete (fs.js:107:15) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command “node” “C:\Program Files\nodejs\node_modules\npm\node_modu les\node-gyp\bin\node-gyp.js” “rebuild” gyp ERR! cwd C:\Users\Administrator\AppData\Roaming\npm\node_modules\node-five\n ode_modules\node-qt gyp ERR! node -v v0.10.12 gyp ERR! node-gyp -v v0.10.0 gyp ERR! not ok npm ERR! weird error 1 npm ERR! not ok code 0
它好像是说 Can’t find Python executable "python", you can set the PYT HON env variable. 但我已经安装好了python 并设置了好了环境变量