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