My Kernel keeps dying - Slicer 4.11 - Jupyter

Hi all,
I am using Slicer 4.11 rn.
I am trying to run the juypter server.
But i keep getting this error:
" Building wheel for pywinpty (PEP 517): started
WARNING: Subprocess output does not appear to be encoded as cp1252
WARNING: Subprocess output does not appear to be encoded as cp1252
Traceback (most recent call last):
File “”, line 1, in
File “C:/Users/Pravallika/AppData/Local/NA-MIC/Slicer 4.11.20210226/NA-MIC/Extensions-29738/SlicerJupyter/lib/Slicer-4.11/qt-scripted-modules/JupyterNotebooks.py”, line 54, in installRequiredPackages
slicer.util.pip_install(“jupyter jupyterlab ipywidgets pandas ipyevents ipycanvas --no-warn-script-location”)
File “C:\Users\Pravallika\AppData\Local\NA-MIC\Slicer 4.11.20210226\bin\Python\slicer\util.py”, line 2876, in pip_install
_executePythonModule(‘pip’, args)
File “C:\Users\Pravallika\AppData\Local\NA-MIC\Slicer 4.11.20210226\bin\Python\slicer\util.py”, line 2851, in _executePythonModule
logProcessOutput(proc)
File “C:\Users\Pravallika\AppData\Local\NA-MIC\Slicer 4.11.20210226\bin\Python\slicer\util.py”, line 2811, in logProcessOutput
for line in proc.stdout:
File “C:/Users/Pravallika/AppData/Local/NA-MIC/Slicer 4.11.20210226/bin/…/lib/Python/Lib\codecs.py”, line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: ‘CP_UTF8’ codec can’t decode byte 0xf0 in position 2813: No mapping for the Unicode character exists in the target code page."

Though it is showing the jupyter server is running. So i tried to connect the notebook kernel, it connected but it keeps disconnecting every 5 seconds and eventually dies.
Python: 3.12.6
Slicer: 4.11
I have installed rust as well version: 1.83.0
Any leads?

@lassoan could you please help?

Slicer 4.11 is many years old and is not maintained. Please upgrade to the latest version 5.6.2 and try.