更新到 Spyder 4.1 后出现内核错误 [英] Kernel error after updating to Spyder 4.1

查看:39
本文介绍了更新到 Spyder 4.1 后出现内核错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过(conda update spyder)在anaconda中将spyder更新到了4.1,除非我从anaconda提示符打开,否则它不起作用,否则会显示这个错误:

I updated spyder to 4.1 in anaconda through (conda update spyder), and it doesn't work unless I open it from the anaconda prompt, otherwise it shows this error:

启动内核时发生错误错误是:

An error ocurred while starting the kernel The error is:

Traceback(最近一次调用最后一次):

Traceback (most recent call last):

文件C:UsersanwarAnaconda3libsite-packagesspyderpluginsipythonconsoleplugin.py",第 1209 行,在 create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr_handle, **kwargs)

File "C:UsersanwarAnaconda3libsite‑packagesspyderpluginsipythonconsoleplugin.py", line 1209, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr_handle, **kwargs)

文件C:UsersanwarAnaconda3libsite‑packagesjupyter_clientmanager.py",第 267 行,在 start_kernel
self.kernel = self._launch_kernel(kernel_cmd, env=env, **kw)

File "C:UsersanwarAnaconda3libsite‑packagesjupyter_clientmanager.py", line 267, in start_kernel
self.kernel = self._launch_kernel(kernel_cmd, env=env, **kw)

文件C:UsersanwarAnaconda3libsite‑packagesjupyter_clientmanager.py",第 211 行,在 _launch_kernel
返回launch_kernel(kernel_cmd, **kw)

File "C:UsersanwarAnaconda3libsite‑packagesjupyter_clientmanager.py", line 211, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)

文件C:UsersanwarAnaconda3libsite‑packagesjupyter_clientlauncher.py",第 135 行,在 launch_kernel
proc = Popen(cmd, **kwargs)

File "C:UsersanwarAnaconda3libsite‑packagesjupyter_clientlauncher.py", line 135, in launch_kernel
proc = Popen(cmd, **kwargs)

文件C:UsersanwarAnaconda3libsubprocess.py",第 775 行,在 init 中restore_signals, start_new_session)

File "C:UsersanwarAnaconda3libsubprocess.py", line 775, in init restore_signals, start_new_session)

文件C:UsersanwarAnaconda3libsubprocess.py",第 1178 行,在 _execute_child 中启动信息)

File "C:UsersanwarAnaconda3libsubprocess.py", line 1178, in _execute_child startupinfo)

FileNotFoundError: [WinError 2] 系统找不到指定的文件

FileNotFoundError: [WinError 2] The system cannot find the file specified

在角落里,它仍然显示 spyder 3.7

and in the corner, it still shows spyder 3.7

推荐答案

(这里是 Spyder 维护者) 这个问题是 此问题,它已在我们于 2020 年 3 月 19 日发布的 4.1.1 中修复.

(Spyder maintainer here) This problem is a duplicate of this issue and it is fixed in our 4.1.1, released in March 19th 2020.

这篇关于更新到 Spyder 4.1 后出现内核错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆