已解决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
声明
解决方法参考网络,如有侵权联系我删除