When Spyder is running, the kernels start an error

1. 报错如下:
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
2.修复方式:

Select "Reset Spyder to factory defaults" in the "Tools" column of the toolbar in Spyder, and then spyder will automatically restart and it will be ok.

3. Cause of the problem: 

I suspect that it was caused by debugging the TensorFlow program at that time, the anaconda environment configuration problem, the specific reason is not very clear, if there is a professional person, please feel free to enlighten me and learn together.

Guess you like

Origin blog.csdn.net/woshisunyizhen/article/details/125442648