python报错:An error ocurred while starting the kernel
报错如下
The Python environment or installation whose interpreter is located at
D:\anaconda3\python.exe
doesn't have the spyder‑kernels module or the right version of it installed (>= 2.3.0 and < 2.4.0). Without this module is not possible for Spyder to create a console for you.
You can install it by activating your environment (if necessary) and then running in a system terminal:
conda install spyder-kernels=2.3
or
pip install spyder-kernels==2.3.*

原因是解释器和conda 环境不一致
解决办法:在preference里选择对应的解释器即可。


浙公网安备 33010602011771号