成功解决An error ocurred while starting the kernel




目录

​解决问题​

​解决思路​

​解决方法​






解决问题

An error ocurred while starting the kernel

Your Python environment or installation doesn't have the spyder‑kernels module or the right version of it installed (>= 1.8.0 and < 2.0.0). Without this module is not possible for Spyder to create a console for you.You can install it by running in a system terminal:

conda install spyder‑kernels

pip install spyder‑kernels



解决思路

启动内核时发生错误

您的Python环境或安装没有安装spyder - kernel模块或正确的版本(>= 1.8.0和< 2.0.0)。没有这个模块,Spyder不可能为您创建一个控制台。

您可以安装它运行在一个系统终端:




解决方法

pip install spyder-kernels

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple spyder-kernels