Kernel error after updating to Spyder 4.1(更新到 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 后出现内核错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:更新到 Spyder 4.1 后出现内核错误


- 如何在 python3 中将 OrderedDict 转换为常规字典 2022-01-01
- 如何将一个类的函数分成多个文件? 2022-01-01
- python-m http.server 443--使用SSL? 2022-01-01
- padding='same' 转换为 PyTorch padding=# 2022-01-01
- 分析异常:路径不存在:dbfs:/databricks/python/lib/python3.7/site-packages/sampleFolder/data; 2022-01-01
- 沿轴计算直方图 2022-01-01
- 使用Heroku上托管的Selenium登录Instagram时,找不到元素';用户名'; 2022-01-01
- pytorch 中的自适应池是如何工作的? 2022-07-12
- 如何在 Python 的元组列表中对每个元组中的第一个值求和? 2022-01-01
- python check_output 失败,退出状态为 1,但 Popen 适用于相同的命令 2022-01-01