jupyter / atom-notebook

[Deprecated] Jupyter Notebook, but inside Atom.
MIT License
306 stars 48 forks source link

jupyter-notebook@0.0.10 installation failed #84

Open crazylazylife opened 5 years ago

crazylazylife commented 5 years ago

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

bufferutil@1.2.1 install C:\Users\HIMADR~1\AppData\Local\Temp\apm-install-dir-1181125-10548-1t4istn.3lfc\node_modules\jupyter-notebook\node_modules\bufferutil node-gyp rebuild

C:\Users\HIMADR~1\AppData\Local\Temp\apm-install-dir-1181125-10548-1t4istn.3lfc\node_modules\jupyter-notebook\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )

utf-8-validate@1.2.2 install C:\Users\HIMADR~1\AppData\Local\Temp\apm-install-dir-1181125-10548-1t4istn.3lfc\node_modules\jupyter-notebook\node_modules\utf-8-validate node-gyp rebuild

C:\Users\HIMADR~1\AppData\Local\Temp\apm-install-dir-1181125-10548-1t4istn.3lfc\node_modules\jupyter-notebook\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )

pathwatcher@8.0.2 install C:\Users\HIMADR~1\AppData\Local\Temp\apm-install-dir-1181125-10548-1t4istn.3lfc\node_modules\jupyter-notebook\node_modules\pathwatcher node-gyp rebuild

C:\Users\HIMADR~1\AppData\Local\Temp\apm-install-dir-1181125-10548-1t4istn.3lfc\node_modules\jupyter-notebook\node_modules\pathwatcher>if not defined npm_config_node_gyp (node "C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )

npm WARN deprecated jupyter-js-services@0.21.1: This package has moved to @jupyterlab/services npm WARN deprecated phosphor@0.5.0: use @phosphor/ packages gyp info it worked if it ends with ok gyp verb cli [ 'C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\node.exe', gyp verb cli 'C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js', gyp verb cli 'rebuild' ] gyp info using node-gyp@3.4.0 gyp info using node@8.9.3 | win32 | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb which failed Error: not found: python2 gyp verb which failed at getNotFoundError (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) gyp verb which failed python2 { Error: not found: python2 gyp verb which failed at getNotFoundError (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' } gyp verb check python checking for Python executable "python" in the PATH gyp verb which succeeded python C:\ProgramData\Miniconda3\python.EXE gyp verb check python version C:\ProgramData\Miniconda3\python.EXE -c "import platform; print(platform.python_version());" returned: "3.7.0\r\n" gyp ERR! configure error gyp ERR! stack Error: Python executable "C:\ProgramData\Miniconda3\python.EXE" is v3.7.0, 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 (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:454:14) gyp ERR! stack at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:443:9 gyp ERR! stack at ChildProcess.exithandler (child_process.js:267:7) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at maybeClose (internal/child_process.js:925:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\node.exe" "C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\HIMADR~1\AppData\Local\Temp\apm-install-dir-1181125-10548-1t4istn.3lfc\node_modules\jupyter-notebook\node_modules\bufferutil gyp ERR! node -v v8.9.3 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok gyp info it worked if it ends with ok gyp verb cli [ 'C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\node.exe', gyp verb cli 'C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js', gyp verb cli 'rebuild' ] gyp info using node-gyp@3.4.0 gyp info using node@8.9.3 | win32 | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb which failed Error: not found: python2 gyp verb which failed at getNotFoundError (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) gyp verb which failed python2 { Error: not found: python2 gyp verb which failed at getNotFoundError (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' } gyp verb check python checking for Python executable "python" in the PATH gyp verb which succeeded python C:\ProgramData\Miniconda3\python.EXE gyp verb check python version C:\ProgramData\Miniconda3\python.EXE -c "import platform; print(platform.python_version());" returned: "3.7.0\r\n" gyp ERR! configure error gyp ERR! stack Error: Python executable "C:\ProgramData\Miniconda3\python.EXE" is v3.7.0, 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 (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:454:14) gyp ERR! stack at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:443:9 gyp ERR! stack at ChildProcess.exithandler (child_process.js:267:7) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at maybeClose (internal/child_process.js:925:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\node.exe" "C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\HIMADR~1\AppData\Local\Temp\apm-install-dir-1181125-10548-1t4istn.3lfc\node_modules\jupyter-notebook\node_modules\utf-8-validate gyp ERR! node -v v8.9.3 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok gyp info it worked if it ends with ok gyp verb cli [ 'C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\node.exe', gyp verb cli 'C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js', gyp verb cli 'rebuild' ] gyp info using node-gyp@3.4.0 gyp info using node@8.9.3 | win32 | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb which failed Error: not found: python2 gyp verb which failed at getNotFoundError (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) gyp verb which failed python2 { Error: not found: python2 gyp verb which failed at getNotFoundError (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' } gyp verb check python checking for Python executable "python" in the PATH gyp verb which succeeded python C:\ProgramData\Miniconda3\python.EXE gyp verb check python version C:\ProgramData\Miniconda3\python.EXE -c "import platform; print(platform.python_version());" returned: "3.7.0\r\n" gyp ERR! configure error gyp ERR! stack Error: Python executable "C:\ProgramData\Miniconda3\python.EXE" is v3.7.0, 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 (C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:454:14) gyp ERR! stack at C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:443:9 gyp ERR! stack at ChildProcess.exithandler (child_process.js:267:7) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at maybeClose (internal/child_process.js:925:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\node.exe" "C:\Users\Himadri S Chatterjee\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\HIMADR~1\AppData\Local\Temp\apm-install-dir-1181125-10548-1t4istn.3lfc\node_modules\jupyter-notebook\node_modules\pathwatcher gyp ERR! node -v v8.9.3 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\HIMADR~1\AppData\Local\Temp\apm-install-dir-1181125-10548-1t4istn.3lfc\package.json' npm WARN apm-install-dir-1181125-10548-1t4istn.3lfc No description npm WARN apm-install-dir-1181125-10548-1t4istn.3lfc No repository field. npm WARN apm-install-dir-1181125-10548-1t4istn.3lfc No README data npm WARN apm-install-dir-1181125-10548-1t4istn.3lfc 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 1 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 1

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! pathwatcher@8.0.2 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pathwatcher@8.0.2 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! C:\Users\Himadri S Chatterjee.atom.apm_logs\2018-12-25T14_02_18_104Z-debug.log -------------------------------------------------------------------------------------------------------------------This was the error I got. Can you please help me out with this.

lyqht commented 5 years ago

same issue here!

Irfan-X commented 5 years ago

make that two

robertlove commented 5 years ago

Three

jarmake commented 5 years ago

Also having this error

brando90 commented 5 years ago

https://discuss.atom.io/t/how-to-install-jupyter-notebook-reader-in-atom/67426

Sriram-bb63 commented 2 years ago

Same issue