Tag Archives: ipython

Anaconda Jupiter notebook kernel error solution

1. First list the available kernel list,
2. Delete the original kernel;
3. Check if there is a kernel in ipython of Anaconda.
4. Reinstall kernel.
The specific orders are as follows:

$ jupyter kernelspec list
Available kernels:
python3 /home/miracode2033/anaconda3/share/jupyter/kernels/python3
$ rm -r /home/miracode2033/anaconda3/share/jupyter/kernels/python3
$ jupyter kernelspec list
Available kernels:
python3 /home/miracode2033/anaconda3/lib/python3.6/site-packages/ipykernel/resources
$ python -m ipykernel install --user
Installed kernelspec python3 in /home/miracode2033/.local/share/jupyter/kernels/python3
$