Issue
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:\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)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)File "C:\Users\anwar\Anaconda3\lib\site‑packages\jupyter_client\manager.py", line 211, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)File "C:\Users\anwar\Anaconda3\lib\site‑packages\jupyter_client\launcher.py", line 135, in launch_kernel
proc = Popen(cmd, **kwargs)File "C:\Users\anwar\Anaconda3\lib\subprocess.py", line 775, in init restore_signals, start_new_session)
File "C:\Users\anwar\Anaconda3\lib\subprocess.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
Solution
(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.
Answered By - Carlos Cordoba
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.