简体   繁体   English

Jupyter 笔记本中的内核错误,我也尝试删除内核

[英]Kernel error in Jupyter notebook and i have tried deleting the kernels as well

Traceback (most recent call last):
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\tornado\web.py", line 1699, in _execute
    result = await result
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\tornado\gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\notebook\services\sessions\handlers.py", line 72, in post
    type=mtype))
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\tornado\gen.py", line 735, in run
    value = future.result()
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\tornado\gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 88, in create_session
    kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\tornado\gen.py", line 735, in run
    value = future.result()
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\tornado\gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 101, in start_kernel_for_session
    self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\tornado\gen.py", line 735, in run
    value = future.result()
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\tornado\gen.py", line 209, in wrapper
    yielded = next(result)
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 168, in start_kernel
    super(MappingKernelManager, self).start_kernel(**kwargs)
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel
    km.start_kernel(**kwargs)
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\jupyter_client\manager.py", line 240, in start_kernel
    self.write_connection_file()
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\jupyter_client\connect.py", line 547, in write_connection_file
    kernel_name=self.kernel_name
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\jupyter_client\connect.py", line 212, in write_connection_file
    with secure_write(fname) as f:
  File "C:\Users\Aastha\Anaconda3\lib\contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "C:\Users\Aastha\Anaconda3\lib\site-packages\jupyter_client\connect.py", line 102, in secure_write
    with os.fdopen(os.open(fname, open_flag, 0o600), mode) as f:
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Aastha\\AppData\\Roaming\\jupyter\\runtime\\kernel-d5b326ed-2d8f-46bc-8974-5caf35edf2cd.json'

I have changed permissions for .json file.我已经更改了 .json 文件的权限。 That was causing kernel error.那是导致内核错误。 earlier I was not having privileges to use that File.早些时候我没有使用该文件的权限。 I in an organisation ask your system admin to do so.我在一个组织中要求您的系统管理员这样做。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么 Jupyter Notebook 中出现 Kernel 错误? - Why do I have a Kernel Error in Jupyter Notebook? 在ipython / jupyter notebook中注册内核 - kernel.json - registering kernels in ipython/jupyter notebook - kernel.json 每次运行 jupyter 笔记本时,我是否必须重新启动 kernel? - do i have to restart the kernel everytime I run a jupyter notebook? Jupyter Notebook kernel 安装错误 - Jupyter Notebook kernel installation error 我如何修复 jupyter notebook 中的这个 kernel 错误 - How can i fix this kernel error in jupyter notebook 当我打开 Jupyter Notebook 时,出现 Kernel 错误 - When I open Jupyter Notebook there is a Kernel Error appears jupyter笔记本中的kernel错误有什么解决方案(我在我的系统中安装了jupyter笔记本) - is there any solution for kernel error in jupyter notebook(i installed jupyter notebook in mysystem) 如何让 jupyter 笔记本使用正确的 kernel? - How to have a jupyter notebook use the correct kernel? Python Jupyter Notebook 中的多个内核 - Multiple Kernels in Python Jupyter Notebook tensorflow pix2pix 教程崩溃 jupyter notebook 和 spyder 内核的建议以及在 anaconda 提示中运行的问题? - advice for tensorflow pix2pix tutorial crashing jupyter notebook and spyder kernels as well as issues running in anaconda prompt?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM