ipython / ipython/ipykernel

Bug: Issue installing new kernel from main

未關閉
#1,238 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
734
分支
412
平均合併
1 天 5 小時
30 天內合併 PR
8

描述

While I was able to install the ipykernel from main, when I tried to make a new kernel I ran into the following error:
```
.venv/lib64/python3.11/site-packages/ipykernel/kernelapp.py", line 734, in main
if self.kernel.eventloop:
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'eventloop'
```

Manually creating a kernel worked fine

貢獻指南

開啟貢獻指南

研究方向

Reproduce the failure by installing ipykernel from main and creating a new kernel, then inspect .venv/lib64/python3.11/site-packages/ipykernel/kernelapp.py around line 734. Compare this path with the manually created kernel case; done means new-kernel creation no longer raises the reported AttributeError.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
jupyter, python
領域
backend, tooling
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。