【发布时间】:2020-06-29 10:52:07
【问题描述】:
我将 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
【问题讨论】:
-
我有同样的问题,不得不降级到 4.0.1(解决了这个问题)。我也试过重置为出厂默认设置,但没有帮助。我不确定您以图形方式启动 Spyder 是什么意思,但应该有一个通用的解决方案。
-
@Forinstance 通过 Anaconda Navigator
-
对 4.1 来说不是一个好的开始... 4.0.1 经常崩溃,没有明显的模式,让我们看看这个版本的进展情况。
标签: python python-3.x anaconda kernel spyder