U
U
unlik2015-01-11 01:34:09
Debian
unlik, 2015-01-11 01:34:09

Error installing logio?

When installing log io after npm install -g log.io --user "logio" a number of
gyp ERRs pop up! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:103:14)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:42:11
gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:38:25)
gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:41:29)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:52:16
gyp ERR! stack at Object.oncomplete(fs.js:107:15)
gyp ERR! System Linux 2.6.32-openvz-042stab090.5-amd64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/log.io/node_modules/jquery/node_modules/contextify
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v1.0.2
ERR! not ok
> [email protected] install /usr/lib/node_modules/log.io/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) | | (exit 0)
> [email protected] install /usr/lib/node_modules/log.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
npm ERR! Linux 2.6.32-openvz-042stab090.5-amd64
npm ERR! argv "node" "/usr/bin/npm" "install" "-g" "log.io" "--user" "logio"
npm ERR! node v0.10.29
npm ERR! npm v2.1.18
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.
How to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey P, 2015-01-11
@ruddy22

I dare to assume that the environment variable for python is not set for the logio user
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question