jupyter / jupyter/atom-notebook

`Installing “jupyter-notebook@0.0.9” failed.` (El Capitan | Python 3 )

Open
#54 14 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
301
Forks
48
PR merge metrics
No merged PRs in 30d

Description

```
Installing “jupyter-notebook@0.0.9” failed.Hide output…

> runas@3.1.1 install /private/var/folders/6z/5vbtz_gmkr76ftgc3149dvtr0003c0/T/apm-install-dir-116712-2921-xjfu5u/node_modules/jupyter-notebook/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild

> bufferutil@1.2.1 install /private/var/folders/6z/5vbtz_gmkr76ftgc3149dvtr0003c0/T/apm-install-dir-116712-2921-xjfu5u/node_modules/jupyter-notebook/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

> utf-8-validate@1.2.1 install /private/var/folders/6z/5vbtz_gmkr76ftgc3149dvtr0003c0/T/apm-install-dir-116712-2921-xjfu5u/node_modules/jupyter-notebook/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

gyp ERR! configure error
gyp ERR! stack Error: Python executable "python" is v3.5.2, which is not supported by gyp.
gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
gyp ERR! stack at failPythonVersion (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/configure.js:119:14)
gyp ERR! stack at /Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/configure.js:108:9
gyp ERR! stack at ChildProcess.exithandler (child_process.js:656:7)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at maybeClose (child_process.js:766:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:833:5)
gyp ERR! System Darwin 15.5.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/6z/5vbtz_gmkr76ftgc3149dvtr0003c0/T/apm-install-dir-116712-2921-xjfu5u/node_modules/jupyter-notebook/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
gyp ERR! configure error
gyp ERR! stack Error: Python executable "python" is v3.5.2, which is not supported by gyp.
gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
gyp ERR! stack at failPythonVersion (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/configure.js:119:14)
gyp ERR! stack at /Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/configure.js:108:9
gyp ERR! stack at ChildProcess.exithandler (child_process.js:656:7)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at maybeClose (child_process.js:766:16)
gyp ERR! stack at Socket. (child_process.js:979:11)
gyp ERR! stack at Socket.emit (events.js:95:17)
gyp ERR! stack at Pipe.close (net.js:466:12)
gyp ERR! System Darwin 15.5.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/6z/5vbtz_gmkr76ftgc3149dvtr0003c0/T/apm-install-dir-116712-2921-xjfu5u/node_modules/jupyter-notebook/node_modules/ws/node_modules/bufferutil
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
gyp ERR! configure error
gyp ERR! stack Error: Python executable "python" is v3.5.2, which is not supported by gyp.
gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
gyp ERR! stack at failPythonVersion (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/configure.js:119:14)
gyp ERR! stack at /Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/configure.js:108:9
gyp ERR! stack at ChildProcess.exithandler (child_process.js:656:7)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at maybeClose (child_process.js:766:16)
gyp ERR! stack at Socket. (child_process.js:979:11)
gyp ERR! stack at Socket.emit (events.js:95:17)
gyp ERR! stack at Pipe.close (net.js:466:12)
gyp ERR! System Darwin 15.5.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/6z/5vbtz_gmkr76ftgc3149dvtr0003c0/T/apm-install-dir-116712-2921-xjfu5u/node_modules/jupyter-notebook/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm WARN optional dep failed, continuing bufferutil@1.2.1
npm WARN optional dep failed, continuing utf-8-validate@1.2.1
npm ERR! Darwin 15.5.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/jespinoz/.atom/.apm/.apmrc" "--userconfig" "/Users/jespinoz/.atom/.apmrc" "install" "/private/var/folders/6z/5vbtz_gmkr76ftgc3149dvtr0003c0/T/d-116712-2921-eoc6aa/package.tgz" "--target=0.37.8" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! runas@3.1.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the runas@3.1.1 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas 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 runas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /private/var/folders/6z/5vbtz_gmkr76ftgc3149dvtr0003c0/T/apm-install-dir-116712-2921-xjfu5u/npm-debug.log
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported node-gyp rebuild failures for runas, bufferutil, and utf-8-validate, including the Python 3.5.2 and Node 0.10.40 versions in the log. The report names no repository files or tests, so first reproduce the Atom installation on the stated El Capitan and Python 3 setup. Done would mean the jupyter-notebook package installs without the reported lifecycle failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, python
Domain
build-system, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.