I'm trying to install the node-osc package in nodejs.

I run npm install node-osc and get this

I tried installing the dependencies on their own:

npm install python
npm install node-gyp

This did not work .. any ideas about what went wrong?

enter image description here


Update


I have set the environmemtal variable like this:

Variable name: PYTHON Variable value: c:\Python33\

now I got rid of the python not found thingy and i get this:

enter image description here


Update

Now I installed the CORRECT verison of python (27) .. 33 is not supported by node-gyp

and I get this:

enter image description here


Update


Turns you I had to install some other stuff to get it working on a 64bit machine:

this guide was life-saving: https://github.com/TooTallNate/node-gyp#installation

有帮助吗?

解决方案

The error means you're missing Python from your executables, which node-gyp requires to build some modules. That means it either isn't installed, or you haven't set the PATH variable for python. To fix this, just install Python.

The installation guide states you will need version 2.6/2.7 or above of Python.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top