JupyterHub can't run python code. Kernel doesn't start

Hey guys.

I have a problem when trying to execute any code in Python (a simple “hello world” for example).

From what I saw, the Kernel doesn’t initialize and keeps trying to connect endlessly until it stops.

Do you know what it could be?

I installed the Hub via Helm

We generally need the logs from the jupyter server (kubectl logs jupyter-yourusername) and the browser console to debug things like this. If everything works except for connecting to kernels, this is almost always an issue with websocket proxying.

It’s also very helpful to share the list of package versions in your user environment (e.g. pip freeze or conda list)