Using Sublime Text 3 for quite some time for Python I found Hermes to let ST3 interact with Jupyter. The installation via Package Control worked but now I have problems to connect to a kernel. Searching the web for some time I found so far only little help on the setup of Hermes and almost nothing on its usage.
I am using an Anaconda installation (Python 3) only for me (i.e. into /Users/the_user/anaconda3) on macOS 10.13.6. The documentation of Hermes states that Jupyter might not find a kernel installed via Conda. So I entered the path (/Users/the_user/anaconda3/share/jupyter/kernels) to the Jupyter kernel into the user configuration file of Hermes. Furthermore, I made the path know to the system.
Now, using the "basic way" to connect to start a kernel via Hermes: connect kernel
and then New kernel
nothing was shown.
Reading the error message I entered the path to the json file in kernels/python3/ Somehow, a connection was established but the options mention in the section Execution of the Hermes documentation were not available.
Seems like I am missing something.
Thanks a lot.
Well, I found a solution that at least solved my problem.
Since there is a similar package called Hydrogen for the editor Atom, as mentioned on the website for Hermes I looked into that and finally found the following post.
As described there the command issued in my case in the Terminal
python -m ipykernel install --user
solves my problem.
So I answer myself and hope it helps others, too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With