how to fix dead kernel in jupyter code example
Example 1: kernel is dead jupyter
conda install -c conda-forge jupyterlab
conda install -c anaconda ipython
Example 2: kernel dead in jupyter notebook
Can you try uninstalling all of:
ipykernel
ipython
jupyter_client
jupyter_core
traitlets
ipython_genutils
And then install again.