ipykernel
ipykernel copied to clipboard
Bug: Issue installing new kernel from main
trafficstars
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
It looks like you didn't call the initialize() method:
https://github.com/ipython/ipykernel/blob/772dfb8ab87b524bcc6f34dd1f631cf05126e25c/ipykernel/kernelapp.py#L748-L750
Sorry for the bad error report, I ran python -m ipykernel install --name mykernel --user, which works for 6.x