Anaconda jupyter notebook kernel error 解决方案

1.首先列出可用的kernel列表,

2.删除原来的kernel;

3.查看是否有anaconda的ipython中的kernel是否存在。

4.重新安装kernel。

具体命令如下:

$ 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
$
发布了185 篇原创文章 · 获赞 55 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/IT_flying625/article/details/104078033