0

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

4

1 回答 1

1

该错误意味着您的可执行文件中缺少 Python,这node-gyp需要构建一些模块。这意味着它要么没有安装,要么你没有为python. 要解决此问题,只需安装 Python。

安装指南指出您需要 2.6/2.7 或更高版本的 Python。

于 2013-09-25T13:27:00.283 回答