【发布时间】:2020-02-27 20:14:07
【问题描述】:
在内核中出现这样的错误:
Traceback(最近一次调用最后一次): _execute 中的文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\tornado\web.py”,第 1699 行 结果 = 等待结果 运行中的文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py”,第 742 行 yielded = self.gen.throw(*exc_info) # 类型:忽略 文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\notebook\services\sessions\handlers.py”,第 72 行,在帖子中 类型=mtype)) 运行中的文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py”,第 735 行 价值 = 未来。结果() 运行中的文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py”,第 742 行 yielded = self.gen.throw(*exc_info) # 类型:忽略 文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\notebook\services\sessions\sessionmanager.py”,第 88 行,在 create_session kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name) 运行中的文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py”,第 735 行 价值 = 未来。结果() 运行中的文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py”,第 742 行 yielded = self.gen.throw(*exc_info) # 类型:忽略 文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\notebook\services\sessions\sessionmanager.py”,第 101 行,在 start_kernel_for_session self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name) 运行中的文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py”,第 735 行 价值 = 未来。结果() 包装器中的文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py”,第 209 行 产生 = 下一个(结果) 文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\notebook\services\kernels\kernelmanager.py”,第 168 行,在 start_kernel super(MappingKernelManager, self).start_kernel(**kwargs) 文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\jupyter_client\multikernelmanager.py”,第 110 行,在 start_kernel km.start_kernel(**kwargs) 文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\jupyter_client\manager.py”,第 240 行,在 start_kernel self.write_connection_file() 文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\jupyter_client\connect.py”,第 476 行,在 write_connection_file kernel_name=self.kernel_name 文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\jupyter_client\connect.py”,第 141 行,在 write_connection_file 使用secure_write(fname)作为f: 文件“C:\Users\A0165\Anaconda3\lib\contextlib.py”,第 112 行,在 enter 中 返回下一个(self.gen) 文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\jupyter_core\paths.py”,第 404 行,在 secure_write win32_restrict_file_to_user(fname) 文件“C:\Users\A0165\AppData\Roaming\Python\Python37\site-packages\jupyter_core\paths.py”,第 359 行,在 win32_restrict_file_to_user 导入win32api ImportError: DLL load failed: No se encontró el proceso especificado。
【问题讨论】:
标签: jupyter-notebook