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

查看:208
本文介绍了更新到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 (most recent call last):

create_kernel_manager_and_kernel_client中的文件"C:\ Users \ anwar \ Anaconda3 \ lib \ site-packages \ spyder \ plugins \ ipythonconsole \ plugin.py",行1209
kernel_manager.start_kernel(stderr = stderr_handle,** kwargs)

File "C:\Users\anwar\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)

start_kernel中的文件"C:\ Users \ anwar \ Anaconda3 \ lib \ site-packages \ jupyter_client \ manager.py",第267行,
self.kernel = self._launch_kernel(kernel_cmd,env = env,** kw)

File "C:\Users\anwar\Anaconda3\lib\site‑packages\jupyter_client\manager.py", line 267, in start_kernel
self.kernel = self._launch_kernel(kernel_cmd, env=env, **kw)

文件_launch_kernel中的第211行"C:\ Users \ anwar \ Anaconda3 \ lib \ site-packages \ jupyter_client \ manager.py"
返回launch_kernel(kernel_cmd,** kw)

File "C:\Users\anwar\Anaconda3\lib\site‑packages\jupyter_client\manager.py", line 211, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)

文件"C:\ Users \ anwar \ Anaconda3 \ lib \ site-packages \ jupyter_client \ launcher.py",行135,在launch_kernel中
proc = Popen(cmd,** kwargs)

File "C:\Users\anwar\Anaconda3\lib\site‑packages\jupyter_client\launcher.py", line 135, in launch_kernel
proc = Popen(cmd, **kwargs)

init 中的文件"C:\ Users \ anwar \ Anaconda3 \ lib \ subprocess.py",行775 restore_signals,start_new_session)

File "C:\Users\anwar\Anaconda3\lib\subprocess.py", line 775, in init restore_signals, start_new_session)

_execute_child中的文件"C:\ Users \ anwar \ Anaconda3 \ lib \ subprocess.py",行1178 启动信息)

File "C:\Users\anwar\Anaconda3\lib\subprocess.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维护者),此问题与

(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天全站免登陆