1、问题描述

【解决001】jupyter notebook中出现kernel error,怎么办?

2、 解决方法01——重新安装jupyter notebook

1.打开anaconda prompt

2.卸载:conda uninstall jupyter notebook

3.安装:conda install jupyter notebook

3、解决方法02——设置kernel

1.首先打开Anaconda Prompt

2.输入jupyter kernelspec list查看安装的内核和位置
进入安装目录,打开kernel.jason, 查看python的编辑器的路径文件是否与安装路径一样
3.如果不一样,那么输入 python -m ipykernel install --user, 重新安装内核即可。更改kernel.json中的python安装路径,使其指向anaconda中的python.exe
4.重启jupyter notebook 即可使用。

经过以上处理后,不仅kernel error的问题解决了,而且jupyter notebook打开的速度变快了,可能是因为安装的jupyter ntoebook不适合我的电脑的缘故。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-01
  • 2021-06-01
  • 2021-04-23
  • 2021-12-15
猜你喜欢
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案