The last command installs a kernel spec file for the current python installation. This is the file that allows you to choose a jupyter kernel in a notebook.