node.js - npm protobuf fails -
i using windows 7, , error when doing
npm install protobuf d:\projects\eventstoresample\node_modules\protobuf>node "c:\program files\nodejs \node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild gyp err! configure error gyp err! stack error: command failed: file "<string>", line 1 gyp err! stack import platform; print platform.python_version(); gyp err! stack ^ gyp err! stack syntaxerror: invalid syntax gyp err! stack gyp err! stack @ childprocess.exithandler (child_process.js:540:15) gyp err! stack @ childprocess.eventemitter.emit (events.js:99:17) gyp err! stack @ maybeclose (child_process.js:638:16) gyp err! stack @ process._handle.onexit (child_process.js:680:5) 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 d:\projects\eventstoresample\node_modules\protobuf
my pythonpath variable in environment variables, set :
"c:\python33\lib;c:\python33\dlls;"
on typing python in command prompt takes me python shell.
how fix issue?
ps : have never used python. installed because of dependency.
Comments
Post a Comment