Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
154 views
in Technique[技术] by (71.8m points)

python - Kernel error after updating to Spyder 4.1

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):

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

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

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

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

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

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

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

and in the corner, it still shows spyder 3.7

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

(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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

56.9k users

...