Un peu de math

A short post with the command needed to make a given kernel appear in Jupyter dropdown menu

Making a kernel available to Jupyter


This blog post is in the category of "write it down somewhere so I don't forget it" but it might be helpful to others.

When I start my computer I run a Jupyter kernel from my home directory:

$ jupyter notebook

I am also a big fan of conda environments, essentially having an environment for any given research project.

It is possible to make each and everyone of these environments available to Jupyter so that when you click on the new button you can decide which environment to use:

Having installed Jupyter in the folk_theorem environment, here is how you make that in the dropdown menu:

python -m ipykernel install --user --name folk_theorem --display-name "Folk Theorem"

A blog about programming (usually scientific python), mathematics (usually game theory) and learning (usually student centred pedagogic approaches).

Source code: drvinceknight Twitter: @drvinceknight Email: [email protected] Powered by: Python mathjax highlight.js Github pages Bootstrap