Traceback (most recent call last):
File "C:\Users\Closer\Anaconda2\lib\site-packages\tornado\web.py", line 1543, in _execute
result = yield result
File "C:\Users\Closer\Anaconda2\lib\site-packages\tornado\gen.py", line 1099, in run
value = future.result()
File "C:\Users\Closer\Anaconda2\lib\site-packages\tornado\concurrent.py", line 260, in result
raise_exc_info(self._exc_info)
File "C:\Users\Closer\Anaconda2\lib\site-packages\tornado\gen.py", line 1107, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\Closer\Anaconda2\lib\site-packages\notebook\services\sessions\handlers.py", line 73, in post
type=mtype))
File "C:\Users\Closer\Anaconda2\lib\site-packages\tornado\gen.py", line 1099, in run
value = future.result()
File "C:\Users\Closer\Anaconda2\lib\site-packages\tornado\concurrent.py", line 260, in result
raise_exc_info(self._exc_info)
File "C:\Users\Closer\Anaconda2\lib\site-packages\tornado\gen.py", line 1107, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\Closer\Anaconda2\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 79, in create_session
kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
File "C:\Users\Closer\Anaconda2\lib\site-packages\tornado\gen.py", line 1099, in run
value = future.result()
File "C:\Users\Closer\Anaconda2\lib\site-packages\tornado\concurrent.py", line 260, in result
raise_exc_info(self._exc_info)
File "C:\Users\Closer\Anaconda2\lib\site-packages\tornado\gen.py", line 1107, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\Closer\Anaconda2\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 92, in start_kernel_for_session
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
File "C:\Users\Closer\Anaconda2\lib\site-packages\tornado\gen.py", line 1099, in run
value = future.result()
File "C:\Users\Closer\Anaconda2\lib\site-packages\tornado\concurrent.py", line 260, in result
raise_exc_info(self._exc_info)
File "C:\Users\Closer\Anaconda2\lib\site-packages\tornado\gen.py", line 315, in wrapper
yielded = next(result)
File "C:\Users\Closer\Anaconda2\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 148, in start_kernel
super(MappingKernelManager, self).start_kernel(**kwargs)
File "C:\Users\Closer\Anaconda2\lib\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel
km.start_kernel(**kwargs)
File "C:\Users\Closer\Anaconda2\lib\site-packages\jupyter_client\manager.py", line 259, in start_kernel
**kw)
File "C:\Users\Closer\Anaconda2\lib\site-packages\jupyter_client\manager.py", line 204, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)
File "C:\Users\Closer\Anaconda2\lib\site-packages\jupyter_client\launcher.py", line 128, in launch_kernel
proc = Popen(cmd, **kwargs)
File "C:\Users\Closer\Anaconda2\lib\subprocess.py", line 394, in __init__
errread, errwrite)
File "C:\Users\Closer\Anaconda2\lib\subprocess.py", line 644, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
这是我遇到的错误。 我当时使用的是Python 3,但出于某种原因,我试图移至python 2。我先卸载anaconda,然后再次为python 2安装。每当我打开jupyter笔记本时,我都会收到消息,
内核已死亡,并且自动重启失败。内核可能无法重新启动。如果您无法重新启动内核,则仍然可以保存笔记本,但是在重新打开笔记本之前,运行代码将不再起作用。
我尝试了提供的Solution,但仍然遇到相同的错误。 我已经浪费了超过6个小时来尝试修复。如果有人请帮助我解决问题,将不胜感激。