How to manage multiple python versions and environments?

Hello,

I’m started using jupyter hub, it’s very nice and useful (and on NixOS it is a very), but I’m missing an important feature: the ability to create multiple environment and python versions.

Currently I’m using uv which does the job flawlessly, but each user has their own jupyter notebook/lab instances, no sharing, no auth and so on. So I wonder how uv could be integrated in jupyterhub. Ideally, one would be able to create/manage from the UI multiple environments and create notebook in those environments.

I couldn’t find a FAQ or a comprehensive page on this in the documentation, but maybe it’s common knowledge that I didn’t learn yet. What is the current best practice for this?

Thank you!

Hi @akiross,

Thanks for the question.

My understanding is that on JupyterHub, the administrator can pre-configure some images with pre-installed kernels and each kernel can use it’s own environment.

Users can also create their own environments. One option is to create a environment based on a Git repository using BinderHub.

1 Like