jupyter / jupyter/atom-notebook

Installation Issues

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

Description

Thanks for your work with the package.

I tried to install and use jupyter-notebook inside atom but can't get through all the issues.

Arch Linux
atom 1.6.2
apm 1.6.0
npm 2.13.3
node 0.10.40
python 3.5.1
git 2.7.4
jupyter 4.1.0

First of all I can't seem to install the package even thought everything else is installed (including pip packages). The error I get:

> utf-8-validate@1.2.1 install /tmp/apm-install-dir-11636-29851-1879d99/node_modules/jupyter-notebook/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

make: Entering directory '/tmp/apm-install-dir-11636-29851-1879d99/node_modules/jupyter-notebook/node_modules/ws/node_modules/utf-8-validate/build'
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
COPY Release/validation.node
make: Leaving directory '/tmp/apm-install-dir-11636-29851-1879d99/node_modules/jupyter-notebook/node_modules/ws/node_modules/utf-8-validate/build'

npm WARN peerDependencies The peer dependency phosphor-disposable@^1.0.5 included from jupyter-js-services will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency phosphor-signaling@^1.2.0 included from jupyter-js-services will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
In file included from ../../nan/nan_callbacks.h:83:0,
from ../../nan/nan.h:150,
from ../src/main.cc:1:
../../nan/nan_callbacks_12_inl.h:251:0: error: unterminated #if
#if NODE_MODULE_VERSION > NODE_0_12_MODULE_VERSION
^
../../nan/nan_callbacks_12_inl.h:9:0: error: unterminated #ifndef
#ifndef NAN_CALLBACKS_12_INL_H_
^
In file included from ../src/main.cc:1:0:
../../nan/nan.h:194:57: fatal error: nan_maybe_43_inl.h: No such file or directory
compilation terminated.
make: **\* [Release/obj.target/runas/src/main.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 4.4.5-1-ARCH
gyp ERR! command "node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-11636-29851-1879d99/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
npm ERR! Linux 4.4.5-1-ARCH
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/user/.atom/.apm/.apmrc" "--userconfig" "/home/user/.atom/.apmrc" "install" "/tmp/d-11636-29851-kgdk5o/package.tgz" "--target=0.34.5" "--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.

Somehow, after couple of tries, the package did install but it does not open the proper notebook screen and there is an error saying that some files are missing from the package.

Any ideas on how to fix it? Also, does linting and all the other packages properly work after opening the ipynb files?

Many thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.