Open den-run-ai opened 8 years ago
Try setting the path of your jupyter binary in Atom > Settings > Packages > jupyter-notebook > Settings > Path to jupyter binary. If you don't know your jupyter path, try which jupyter
in your terminal. My jupyter path on OS X is /usr/local/bin/. Once jupyter-notebook can find your jupyter binary, you should be able to open notebooks.
This did not work, I'm on windows. Python 2.7
On Wed, Jan 20, 2016, 10:25 AM Grant Nestor notifications@github.com wrote:
Try setting the path of your jupyter binary in Atom > Settings > Packages
jupyter-notebook > Settings > Path to jupyter binary. If you don't know your jupyter path, try which jupyter in your terminal. My jupyter path on OS X is /usr/local/bin/. Once jupyter-notebook can find your jupyter binary, you should be able to open notebooks.
— Reply to this email directly or view it on GitHub https://github.com/jupyter/atom-notebook/issues/31#issuecomment-173260309 .
Have you confirmed the jupyter path that you added in terminal?
Yes, I set the path to Jupyter full path, BTW on Windows the command is "where jupyter"
On Wed, Jan 20, 2016, 10:45 AM Grant Nestor notifications@github.com wrote:
Have you confirmed the jupyter path that you added in terminal?
On Jan 20 2016, at 8:43 am, denfromufa <notifications@github.com> wrote: This did not work, I'm on windows. Python 2.7
On Wed, Jan 20, 2016, 10:25 AM Grant Nestor <notifications@github.com>
wrote:
> Try setting the path of your jupyter binary in Atom > Settings > Packages > > jupyter-notebook > Settings > Path to jupyter binary. If you don't know > your jupyter path, try which jupyter in your terminal. My jupyter path on > OS X is /usr/local/bin/. Once jupyter-notebook can find your jupyter > binary, you should be able to open notebooks. > > — > Reply to this email directly or view it on GitHub > <https://github.com/jupyter/atom- notebook/issues/31#issuecomment-173260309> > . >
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/jupyter/atom-notebook/issues/31#issuecomment-173267790 .
atom .
I've pinpointed the error to a missing kernelgateway.exe, as reported in the developer console:
kernelGateway.stderr jupyter: 'kernelgateway' is not a Jupyter command
This is due to the following issue, which has been fixed very recently. Installing from the master branch via
pip install --user git+https://github.com/jupyter-incubator/kernel_gateway.git@master
did the trick for me. Hopefully the changes will be distributed in a proper release soon.
Good to hear 👍
I do not understand why this issue was closed without my verification. I installed kernel_gateway from master (jupyter-kernel-gateway (0.4.0.dev0)) and still get the same error and traceback:
index.js:52 Window load time: 2834ms
/deep/ combinator is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details.
/C:/Users/denis/.atom/packages/jupyter-notebook/lib/notebook-editor.js:222 NotebookEditor created for C:\coolprop_ethylene_glycol.ipynb
C:\Users\denis\AppData\Local\atom\app-1.4.0\resources\app.asar\src\scrollbar-component.js:86 ::shadow pseudo-element is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details.
events.js:141 Uncaught Error: spawn jupyter ENOENT
4/C:/Users/denis/.atom/packages/jupyter-notebook/lib/notebook-editor.js:77 Action 'Symbol(cell_source_changed)'received in NotebookEditor
@denfromufa Are you still running into this issue?
I can check with latest if you have any changes or suggestions.
On Tue, Feb 2, 2016, 6:31 PM Grant Nestor notifications@github.com wrote:
@denfromufa https://github.com/denfromufa Are you still running into this issue?
— Reply to this email directly or view it on GitHub https://github.com/jupyter/atom-notebook/issues/31#issuecomment-178911973 .
pip install --user git+https://github.com/jupyter-incubator/kernel_gateway.git@master
or pip3 install git+https://github.com/jupyter-incubator/kernel_gateway.git@master
what if jupyter is in system path?
tried uninstalling jupyter notebook from atom:
Uninstalling “jupyter-notebook” failed.Hide output…
Failed to delete jupyter-notebook: ENOTEMPTY, directory not empty 'C:\Users\denis.akhiyarov\.atom\packages\jupyter-notebook\node_modules\react\node_modules\envify\node_modules\jstransform\src'
Try rm -r C:\Users\denis.akhiyarov\.atom\packages\jupyter-notebook
and then re-install (not sure if that command works on Windows...)
del instead of -rm -r. now it is broken.
Don't know what you mean by that. Can you reinstall? Have you tried apm install jupyter-notebook
? PYTHON=python2 apm install
?
Why do I need second command?
On Wed, Feb 3, 2016, 10:08 AM Grant Nestor notifications@github.com wrote:
Don't know what you mean by that. Can you reinstall? Have you tried apm install jupyter-notebook? PYTHON=python2 apm install?
— Reply to this email directly or view it on GitHub https://github.com/jupyter/atom-notebook/issues/31#issuecomment-179316179 .
I meant that Jupyter notebook package cannot be uninstalled from atom gui
On Wed, Feb 3, 2016, 10:41 AM Denis Akhiyarov denis.akhiyarov@gmail.com wrote:
Why do I need second command?
On Wed, Feb 3, 2016, 10:08 AM Grant Nestor notifications@github.com wrote:
Don't know what you mean by that. Can you reinstall? Have you tried apm install jupyter-notebook? PYTHON=python2 apm install?
— Reply to this email directly or view it on GitHub https://github.com/jupyter/atom-notebook/issues/31#issuecomment-179316179 .
If the apm install jupyter-notebook
fails, you can try PYTHON=python2 apm install
.
apm install jupyter-notebook
failed, what is the PYTHON=python2 apm install
doing?
The PYTHON=python2
is explicitly setting which Python to use for node-gyp which sadly requires Python 2.
PYTHON: can't open file '=python2': [Errno 2] No such file or directory
Hmmmm. Maybe on Windows you have to do:
SET PYTHON=python2
apm install jupyter-notebook
"--msvs_version=2013"
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
npm ERR! This is most likely a problem with the runas packag
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.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.ta
rgets(57,5): error MSB8020: The build tools for v120 (Platform Toolset = 'v120')
cannot be found. To build using the v120 build tools, please install v120 build
tools. Alternatively, you may upgrade to the current Visual Studio tools by se
lecting the Project menu or right-click the solution, and then selecting "Retarg
et solution". [C:\Users\denis.akhiyarov\AppData\Local\Temp\apm-install-dir-11613
-19844-8heuj8\node_modules\jupyter-notebook\node_modules\ws\node_modules\bufferu
til\build\bufferutil.vcxproj]
I set the path and I still get this error: /Users/
-edit- oops, last one worked. Leaving this in case anyone else wonders about the path with miniconda. Had to restart Atom before the settings took.
events.js:141 Uncaught Error: spawn jupyter ENOENT
No running Jupyter session. Try closing and re-opening this file.