jupyter / jupyter/atom-notebook

Jupyter Notebook doesn't install

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

Description

When installing from either the Terminal or the GUI the same error pops up.
OS: POP OS
Installing “jupyter-notebook@0.0.10” failed.

> bufferutil@1.2.1 install /tmp/apm-install-dir-2021520-79558-1wk0db5.0f4j/node_modules/jupyter-notebook/node_modules/bufferutil
> node-gyp rebuild

> utf-8-validate@1.2.2 install /tmp/apm-install-dir-2021520-79558-1wk0db5.0f4j/node_modules/jupyter-notebook/node_modules/utf-8-validate
> node-gyp rebuild

> pathwatcher@8.1.1 install /tmp/apm-install-dir-2021520-79558-1wk0db5.0f4j/node_modules/jupyter-notebook/node_modules/pathwatcher
> node-gyp rebuild

npm WARN deprecated jupyter-js-services@0.21.1: This package has moved to @jupyterlab/services
npm WARN deprecated uuid@2.0.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated core-js@1.2.7: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated phosphor@0.5.0: use @phosphor/ packages
/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin/node-gyp: 5: /usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js: Permission denied
/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin/node-gyp: 5: /usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js: Permission denied
/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin/node-gyp: 5: /usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js: Permission denied
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-2021520-79558-1wk0db5.0f4j/package.json'
npm WARN apm-install-dir-2021520-79558-1wk0db5.0f4j No description
npm WARN apm-install-dir-2021520-79558-1wk0db5.0f4j No repository field.
npm WARN apm-install-dir-2021520-79558-1wk0db5.0f4j No README data
npm WARN apm-install-dir-2021520-79558-1wk0db5.0f4j No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.2.1 (node_modules/jupyter-notebook/node_modules/bufferutil):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.2.1 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 126
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.2.2 (node_modules/jupyter-notebook/node_modules/utf-8-validate):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.2.2 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 126

npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! pathwatcher@8.1.1 install: `node-gyp rebuild`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the pathwatcher@8.1.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/bharathg/.atom/.apm/_logs/2021-06-20T15_05_04_587Z-debug.log

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing installation of jupyter-notebook@0.0.10 from Atom's Terminal or GUI on Pop!_OS, focusing on the node-gyp failure for pathwatcher@8.1.1 and the related optional dependencies. No source files or tests are named; done means the package installs successfully without the reported ELIFECYCLE error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jupyter-notebook, node.js
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.