No kernel for language json found - Hydrogen on atom

岁酱吖の 提交于 2019-12-06 16:35:00

For anyone still looking for a solution for this issue -- especially those who insert the kernelspec json details into Hydrogen and get "python can't be spawned. Is it in the path?"

The solution for me was to write the installed python envs (Anaconda) to the kernel.json file for Jupyter. This link serves well for all purposes: https://ipython.readthedocs.io/en/latest/install/kernel_install.html Specifically, this line of code was all I needed to push through the Anaconda prompt: python -m ipykernel install --user

Do this for however many kernels you want to link back to Jupyter by activating each python env.

I assume that for other languages, it will be a very similar process. It has to do with the links not being correct.

From your screenshot it looks like you're trying to open a .ipynb file in hydrogen. According to an issue at https://github.com/nteract/hydrogen/issues/153 Hydrogen does not support ipynb files, it only runs directly on python files. I found this confusing as well.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!