Python error message "kernel does not exist"

Viewed 494

I installed a package xsequence in python, but when I tried to run this code

import at
import xsequence

from xsequence.lattice import Lattice
from xsequence.conversion_utils import conv_utils
import xsequence.elements_dataclasses as xed

I got the attached error massage.

Screenshot of error message

1 Answers

I faced a similar issue and I had looked through some places and I don’t remember the reference but I did the following
Uninstall Jupyter notebook and along with its dependencies :

pip3 uninstall jupyter
pip3 uninstall jupyter_core
pip3 uninstall jupyter-client
pip3 uninstall jupyter-console
pip3 uninstall notebook
pip uninstall ipykernel
pip uninstall jupyterlab-server
pip uninstall jupyterlab

Once all the dependencies are uninstalled, delete anaconda and install it again

It resolved my error!

Related