# My Kernel keeps dying - Slicer 4.11 - Jupyter

**URL:** <https://discourse.slicer.org/t/my-kernel-keeps-dying-slicer-4-11-jupyter/40902>\
**Category:** Support\
**Tags:** jupyter\
**Created:** [December 30, 2024, 8:26am UTC](https://discourse.slicer.org/t/my-kernel-keeps-dying-slicer-4-11-jupyter/40902 "2024-12-30T08:26:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saladi](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/saladi/32/77856_2.png) [@Saladi](https://discourse.slicer.org/u/Saladi)\
**Post date:** [December 30, 2024, 8:26am UTC](https://discourse.slicer.org/t/my-kernel-keeps-dying-slicer-4-11-jupyter/40902/1 "2024-12-30T08:26:35Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Saladi](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/saladi/32/77856_2.png) [@Saladi](https://discourse.slicer.org/u/Saladi)\
**Post date:** [December 30, 2024, 8:29am UTC](https://discourse.slicer.org/t/my-kernel-keeps-dying-slicer-4-11-jupyter/40902/2 "2024-12-30T08:29:01Z")

</div>

@lassoan could you please help?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [December 30, 2024, 9:15am UTC](https://discourse.slicer.org/t/my-kernel-keeps-dying-slicer-4-11-jupyter/40902/3 "2024-12-30T09:15:55Z")

</div>

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