ipython / ipython/ipykernel

Encountered "ValueError: I/O operation on closed file" in kernelbase.py

未关闭
#470 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
734
派生
412
平均合并
1 天 5 小时
30 天内合并 PR
8

描述

running jupyter notebook for a few hours and crashing in recent venv (few days old only). error message only retrievable from anaconda prompt. windows 10

`[IPKernelApp] ERROR | Error in message handler Traceback (most recent call last): File "H:\Anaconda3\envs\np\lib\site-packages\ipykernel\kernelbase.py", line 377, in dispatch_queue yield self.process_one() File "H:\Anaconda3\envs\np\lib\site-packages\tornado\gen.py", line 735, in run value = future.result() File "H:\Anaconda3\envs\np\lib\site-packages\tornado\gen.py", line 742, in run yielded = self.gen.throw(*exc_info) # type: ignore File "H:\Anaconda3\envs\np\lib\site-packages\ipykernel\kernelbase.py", line 361, in process_one yield gen.maybe_future(dispatch(*args)) File "H:\Anaconda3\envs\np\lib\site-packages\tornado\gen.py", line 735, in run value = future.result() File "H:\Anaconda3\envs\np\lib\site-packages\tornado\gen.py", line 742, in run yielded = self.gen.throw(*exc_info) # type: ignore File "H:\Anaconda3\envs\np\lib\site-packages\ipykernel\kernelbase.py", line 277, in dispatch_shell sys.stdout.flush() ValueError: I/O operation on closed file.`

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。