在 anaconda 中更新 Spyder 后出现内核错误

Mar*_*ijn 5 python kernel python-3.x spyder anaconda

我将 Spyder 更新到 4.1.0 版(连同 anaconda 中的所有其他软件包)。Spyder 本身工作正常,但内核不工作。我收到以下错误,不知道如何解决:

An error ocurred while starting the kernel
The error is:

Traceback (most recent call last):
File "C:\Users\20172010\AppData\Local\Continuum\anaconda3\lib\site?packages\spyder\plugins\ipythonconsole\plugin.py", line 1209, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr_handle, **kwargs)
File "C:\Users\20172010\AppData\Local\Continuum\anaconda3\lib\site?packages\jupyter_client\manager.py", line 267, in start_kernel
self.kernel = self._launch_kernel(kernel_cmd, env=env, **kw)
File "C:\Users\20172010\AppData\Local\Continuum\anaconda3\lib\site?packages\jupyter_client\manager.py", line 211, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)
File "C:\Users\20172010\AppData\Local\Continuum\anaconda3\lib\site?packages\jupyter_client\launcher.py", line 135, in launch_kernel
proc = Popen(cmd, **kwargs)
File "C:\Users\20172010\AppData\Local\Continuum\anaconda3\lib\subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "C:\Users\20172010\AppData\Local\Continuum\anaconda3\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
Run Code Online (Sandbox Code Playgroud)

小智 1

下面的链接提到他们正在努力尽快推出spyder 4.1.1。

在此期间,您有两个选择:

  • 通过导航器或提示符运行spyder 4.1.0(如前所述)
  • 在导航器中执行回滚到 4.0.1

链接: https: //github.com/spyder-ide/spyder/issues/11819