Skip to content

Instantly share code, notes, and snippets.

@gargolito
Created August 30, 2019 17:50
Show Gist options
  • Save gargolito/9da3df04ccfc17e7b00312ece3420e12 to your computer and use it in GitHub Desktop.
Save gargolito/9da3df04ccfc17e7b00312ece3420e12 to your computer and use it in GitHub Desktop.
Atom Hydrogen Kernels with pyenv
in MacOs, hydrogen looks at /Users/<USER>/Library/Jupyter/kernels/python3/kernel.json for its kernel but when you are using pyenv and you install a kernel with ipykernel, it the kernel.json file is stored in /usr/local/share/jupyter/kernels/python3/kernel.json
The solution is to copy or symlink the installed kernel.json to where hydrogen expects the file to be:
ln -sf /usr/local/share/jupyter/kernels/python3/kernel.json /Users/<USER>/Library/Jupyter/kernels/python3/kernel.json
You'll have to re-start atom.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment