atom-notebook icon indicating copy to clipboard operation
atom-notebook copied to clipboard

[email protected] installation failed

Open crazylazylife opened this issue 6 years ago • 6 comments


Installing “[email protected]” failed.Hide output…

[email protected] 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 )

[email protected] 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 )

[email protected] 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 [email protected]: This package has moved to @jupyterlab/services npm WARN deprecated [email protected]: 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 [email protected] gyp info using [email protected] | 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 [email protected] gyp info using [email protected] | 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 [email protected] gyp info using [email protected] | 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: [email protected] (node_modules\jupyter-notebook\node_modules\bufferutil): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\jupyter-notebook\node_modules\utf-8-validate): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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.

crazylazylife avatar Dec 25 '18 14:12 crazylazylife

same issue here!

lyqht avatar Dec 26 '18 04:12 lyqht

make that two

Irfan-X avatar Mar 01 '19 04:03 Irfan-X

Three

robertlove avatar Apr 17 '19 05:04 robertlove

Also having this error

jarmake avatar May 24 '19 07:05 jarmake

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

brando90 avatar Aug 07 '19 16:08 brando90

Same issue

Sriram-bb63 avatar Nov 05 '21 13:11 Sriram-bb63