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

Installing “[email protected]” failed - (windows 10) Atom 1.32.2

Open FoFo-FoSho opened this issue 6 years ago • 13 comments

Hi there =)

Below is the error that was produced when trying to install Juypter package on Atom - below that are my computer specs. Any help would be greatly appreciated.

Atom version: 1.32.2

#####################

[email protected] install C:\Users\chris\AppData\Local\Temp\apm-install-dir-1181130-2104-wo1nub.wbcpb\node_modules\jupyter-notebook\node_modules\bufferutil node-gyp rebuild

(py37) C:\Users\chris\AppData\Local\Temp\apm-install-dir-1181130-2104-wo1nub.wbcpb\node_modules\jupyter-notebook\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Users\chris\AppData\Local\atom\app-1.32.2\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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )

[email protected] install C:\Users\chris\AppData\Local\Temp\apm-install-dir-1181130-2104-wo1nub.wbcpb\node_modules\jupyter-notebook\node_modules\utf-8-validate node-gyp rebuild

(py37) C:\Users\chris\AppData\Local\Temp\apm-install-dir-1181130-2104-wo1nub.wbcpb\node_modules\jupyter-notebook\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Users\chris\AppData\Local\atom\app-1.32.2\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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )

[email protected] install C:\Users\chris\AppData\Local\Temp\apm-install-dir-1181130-2104-wo1nub.wbcpb\node_modules\jupyter-notebook\node_modules\pathwatcher node-gyp rebuild

(py37) C:\Users\chris\AppData\Local\Temp\apm-install-dir-1181130-2104-wo1nub.wbcpb\node_modules\jupyter-notebook\node_modules\pathwatcher>if not defined npm_config_node_gyp (node "C:\Users\chris\AppData\Local\atom\app-1.32.2\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\chris\AppData\Local\atom\app-1.32.2\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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\bin\node.exe', gyp verb cli 'C:\Users\chris\AppData\Local\atom\app-1.32.2\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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\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:\Users\chris\Anaconda3\envs\py37\python.EXE gyp verb check python version C:\Users\chris\Anaconda3\envs\py37\python.EXE -c "import platform; print(platform.python_version());" returned: "3.7.1\r\n" gyp ERR! configure error gyp ERR! stack Error: Python executable "C:\Users\chris\Anaconda3\envs\py37\python.EXE" is v3.7.1, 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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\node-gyp\lib\configure.js:454:14) gyp ERR! stack at C:\Users\chris\AppData\Local\atom\app-1.32.2\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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\bin\node.exe" "C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\chris\AppData\Local\Temp\apm-install-dir-1181130-2104-wo1nub.wbcpb\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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\bin\node.exe', gyp verb cli 'C:\Users\chris\AppData\Local\atom\app-1.32.2\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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\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:\Users\chris\Anaconda3\envs\py37\python.EXE gyp verb check python version C:\Users\chris\Anaconda3\envs\py37\python.EXE -c "import platform; print(platform.python_version());" returned: "3.7.1\r\n" gyp ERR! configure error gyp ERR! stack Error: Python executable "C:\Users\chris\Anaconda3\envs\py37\python.EXE" is v3.7.1, 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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\node-gyp\lib\configure.js:454:14) gyp ERR! stack at C:\Users\chris\AppData\Local\atom\app-1.32.2\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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\bin\node.exe" "C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\chris\AppData\Local\Temp\apm-install-dir-1181130-2104-wo1nub.wbcpb\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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\bin\node.exe', gyp verb cli 'C:\Users\chris\AppData\Local\atom\app-1.32.2\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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\chris\AppData\Local\atom\app-1.32.2\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:\Users\chris\Anaconda3\envs\py37\python.EXE gyp verb check python version C:\Users\chris\Anaconda3\envs\py37\python.EXE -c "import platform; print(platform.python_version());" returned: "3.7.1\r\n" gyp ERR! configure error gyp ERR! stack Error: Python executable "C:\Users\chris\Anaconda3\envs\py37\python.EXE" is v3.7.1, 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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\node-gyp\lib\configure.js:454:14) gyp ERR! stack at C:\Users\chris\AppData\Local\atom\app-1.32.2\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\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\bin\node.exe" "C:\Users\chris\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\chris\AppData\Local\Temp\apm-install-dir-1181130-2104-wo1nub.wbcpb\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\chris\AppData\Local\Temp\apm-install-dir-1181130-2104-wo1nub.wbcpb\package.json' npm WARN apm-install-dir-1181130-2104-wo1nub.wbcpb No description npm WARN apm-install-dir-1181130-2104-wo1nub.wbcpb No repository field. npm WARN apm-install-dir-1181130-2104-wo1nub.wbcpb No README data npm WARN apm-install-dir-1181130-2104-wo1nub.wbcpb 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\chris.atom.apm_logs\2018-12-30T09_29_14_722Z-debug.log

#######################

Operating System: Windows 10 Pro 64-bit (10.0, Build 17134) (17134.rs4_release.180410-1804) Language: English (Regional Setting: English) System Manufacturer: Microsoft Corporation System Model: Surface Pro 4 BIOS: 108.2318.769 (type: UEFI) Processor: Intel(R) Core(TM) i7-6650U CPU @ 2.20GHz (4 CPUs), ~2.2GHz Memory: 8192MB RAM Available OS Memory: 8118MB RAM Page File: 12769MB used, 3028MB available Windows Dir: C:\Windows DirectX Version: DirectX 12 DX Setup Parameters: Not found User DPI Setting: 192 DPI (200 percent) System DPI Setting: 192 DPI (200 percent) DWM DPI Scaling: UnKnown Miracast: Available, with HDCP Microsoft Graphics Hybrid: Not Supported DxDiag Version: 10.00.17134.0001 64bit Unicode

FoFo-FoSho avatar Dec 30 '18 09:12 FoFo-FoSho

Affects me, too.

mroettgen avatar Jan 25 '19 20:01 mroettgen

Here as well

laurivaltteri avatar Jan 29 '19 14:01 laurivaltteri

And here

ChrisHastieIW avatar Feb 01 '19 15:02 ChrisHastieIW

Same -- it says that this is deprecated, does that mean it's been abandoned? I hope not, because this would be a great functionality (I know there's nteract, but I'm not that excited, I just want to open ipynb files and edit them in Atom is that too much to ask?!)

lyons7 avatar Feb 01 '19 20:02 lyons7

here as well

nakulstar95 avatar Feb 25 '19 06:02 nakulstar95

and here

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

and here

henryxparker avatar May 15 '19 00:05 henryxparker

and heree

GurayKilinc avatar Jun 09 '19 16:06 GurayKilinc

here too

cdedonno avatar Jul 30 '19 12:07 cdedonno

me too!

nosratullah avatar Aug 09 '19 09:08 nosratullah

same here

varungujarathi9 avatar Nov 10 '19 22:11 varungujarathi9

Same here

Minjeong-Song avatar Mar 18 '20 19:03 Minjeong-Song

#metoo

ch3pasov avatar Sep 11 '20 06:09 ch3pasov