简体   繁体   English

Anaconda3 的 Jupyter 笔记本内核错误

[英]Jupyter notebook Kernel error for Anaconda3

When I open a new/existing Jupyter notebook which was distributed with Anaconda 3 there is a Kernel error message as shown below:当我打开一个与 Anaconda 3 一起分发的新的/现有的 Jupyter 笔记本时,会出现如下所示的内核错误消息:

Traceback (most recent call last):
  File "C:\Users\User1\Anaconda3\Ana3\lib\site-packages\tornado\web.py", line 1699, in _execute
    result = await result
  File "C:\Users\User1\Anaconda3\Ana3\lib\site-packages\tornado\gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "C:\Users\User1\Anaconda3\Ana3\lib\site-packages\notebook\services\sessions\handlers.py", line 72, in post
    type=mtype))
  File "C:\Users\User1\Anaconda3\Ana3\lib\site-packages\tornado\gen.py", line 735, in run
    value = future.result()
  File "C:\Users\User1\Anaconda3\Ana3\lib\site-packages\tornado\gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "C:\Users\User1\Anaconda3\Ana3\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\User1\Anaconda3\Ana3\lib\site-packages\tornado\gen.py", line 735, in run
    value = future.result()
  File "C:\Users\User1\Anaconda3\Ana3\lib\site-packages\tornado\gen.py", line 742, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "C:\Users\User1\Anaconda3\Ana3\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\User1\Anaconda3\Ana3\lib\site-packages\tornado\gen.py", line 735, in run
    value = future.result()
  File "C:\Users\User1\Anaconda3\Ana3\lib\site-packages\tornado\gen.py", line 209, in wrapper
    yielded = next(result)
  File "C:\Users\User1\Anaconda3\Ana3\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 168, in start_kernel
    super(MappingKernelManager, self).start_kernel(**kwargs)
  File "C:\Users\User1\Anaconda3\Ana3\lib\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel
    km.start_kernel(**kwargs)
  File "C:\Users\User1\Anaconda3\Ana3\lib\site-packages\jupyter_client\manager.py", line 240, in start_kernel
    self.write_connection_file()
  File "C:\Users\User1\Anaconda3\Ana3\lib\site-packages\jupyter_client\connect.py", line 547, in write_connection_file
    kernel_name=self.kernel_name
  File "C:\Users\User1\Anaconda3\Ana3\lib\site-packages\jupyter_client\connect.py", line 212, in write_connection_file
    with secure_write(fname) as f:
  File "C:\Users\User1\Anaconda3\Ana3\lib\contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "C:\Users\User1\Anaconda3\Ana3\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\\User1\\AppData\\Roaming\\jupyter\\runtime\\kernel-501ad49f-c5f7-4c1b-a521-e1b754281609.json'

Why is this occuring?为什么会出现这种情况?

以“以管理员身份运行”运行 Anaconda Navigator 后,内核正确启动。

暂无
暂无

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

相关问题 无法在 Anaconda3 中启动 jupyter notebook,因为导入 _ssl 时出错 - Cant start jupyter notebook in Anaconda3, because of error in import _ssl 如何修复Anaconda Jupyter Notebook内核错误? - How to fix Anaconda Jupyter Notebook kernel error? anaconda Jupyter Notebook 中的内核错误:ImportError - Kernel Error in anaconda Jupyter Notebook: ImportError 在python 3.6(anaconda3)中执行“导入pyodbc”时,Jupyter Notebook引发错误:ImportError:DLL加载失败 - when executing “import pyodbc” in python 3.6 (anaconda3) Jupyter Notebook throws error: ImportError: DLL load failed Jupyter Notebook(Anaconda)安装程序出现内核错误,这是计算机的新增功能 - Kernel Error with Jupyter Notebook (Anaconda) Setup, New to computers 如何将内核安装到我的 Jupyter Notebook 以运行 Python 2.7(已通过 Anaconda3 安装了 Python 3.6) - How can I install a kernel to my Jupyter Notebook to run Python 2.7 (having installed Python 3.6 via Anaconda3) 安装了Anaconda3,jupyter笔记本电脑出现错误,没有名为“ pyspark”的模块 - Anaconda3 is installed, jupyter notebook errors out No module named 'pyspark' 在Jupyter Notebook中为Anaconda3导入自定义.py文件 - Import custom .py files in Jupyter Notebook for Anaconda3 Anaconda Jupyter Notebook 突然无法启动内核 - Anaconda Jupyter Notebook is suddenly not starting kernel Jupyter Notebook 在 Anaconda 更新后死机 Kernel - Jupyter Notebook dead Kernel after Anaconda update
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM