Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2013
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.35 KB | None | 0 0
  1. root@beaglebone:~# npm install i2c    
  2. npm http GET https://registry.npmjs.org/i2c
  3. npm http 304 https://registry.npmjs.org/i2c
  4. npm http GET https://registry.npmjs.org/bindings
  5. npm http GET https://registry.npmjs.org/underscore/1.2.4
  6. npm http GET https://registry.npmjs.org/coffee-script/1.3.3
  7. npm http GET https://registry.npmjs.org/repl/0.1.3
  8. npm http 304 https://registry.npmjs.org/bindings
  9. npm http 304 https://registry.npmjs.org/repl/0.1.3
  10. npm http 304 https://registry.npmjs.org/coffee-script/1.3.3
  11. npm http 304 https://registry.npmjs.org/underscore/1.2.4
  12.  
  13. > i2c@0.1.4 install /home/root/node_modules/i2c
  14. > node-gyp rebuild
  15.  
  16. gyp ERR! configure error
  17. gyp ERR! stack Error: Python executable "python" is v2.7.3, which is not supported by gyp.
  18. gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
  19. gyp ERR! stack     at failPythonVersion (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:118:14)
  20. gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:107:9
  21. gyp ERR! stack     at ChildProcess.exithandler (child_process.js:538:7)
  22. gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:99:17)
  23. gyp ERR! stack     at maybeClose (child_process.js:638:16)
  24. gyp ERR! stack     at Process._handle.onexit (child_process.js:680:5)
  25. gyp ERR! System Linux 3.8.13
  26. gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  27. gyp ERR! cwd /home/root/node_modules/i2c
  28. gyp ERR! node -v v0.8.22
  29. gyp ERR! node-gyp -v v0.8.5
  30. gyp ERR! not ok
  31. npm ERR! i2c@0.1.4 install: `node-gyp rebuild`
  32. npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
  33. npm ERR!
  34. npm ERR! Failed at the i2c@0.1.4 install script.
  35. npm ERR! This is most likely a problem with the i2c package,
  36. npm ERR! not with npm itself.
  37. npm ERR! Tell the author that this fails on your system:
  38. npm ERR!     node-gyp rebuild
  39. npm ERR! You can get their info via:
  40. npm ERR!     npm owner ls i2c
  41. npm ERR! There is likely additional logging output above.
  42.  
  43. npm ERR! System Linux 3.8.13
  44. npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "i2c"
  45. npm ERR! cwd /home/root
  46. npm ERR! node -v v0.8.22
  47. npm ERR! npm -v 1.2.14
  48. npm ERR! code ELIFECYCLE
  49. npm ERR!
  50. npm ERR! Additional logging details can be found in:
  51. npm ERR!     /home/root/npm-debug.log
  52. npm ERR! not ok code 0
  53. root@beaglebone:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement