Hacker News new | ask | show | jobs
by darsnack 2609 days ago
Great news! Question for the fellow Jupyter Hub users: how do I expose users’ Conda environments to them?
2 comments

`nb_conda_kernel` should add the kernels installed in both system and user conda environments as notebook kernels.

EDIT: I meant `nb_conda_kernels` https://github.com/Anaconda-Platform/nb_conda_kernels

Install ipykernel or irkernel packages in the environments you want juoyterlab to know about
You'll also need to register it against Jupyter.

For Python :

    $ ipykernel install --user --name myenv --display-name "My environment"
For R :

    > IRkernel::installspec()
As mentioned previously, nb_conda_kernels allows to automate this step.