Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Issue installing new kernel from main #1238

Open
mlucool opened this issue May 22, 2024 · 2 comments
Open

Bug: Issue installing new kernel from main #1238

mlucool opened this issue May 22, 2024 · 2 comments

Comments

@mlucool
Copy link
Contributor

mlucool commented May 22, 2024

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

@davidbrochart
Copy link
Collaborator

It looks like you didn't call the initialize() method:

app = IPKernelApp.instance()
app.initialize()
app.start()

@mlucool
Copy link
Contributor Author

mlucool commented May 23, 2024

Sorry for the bad error report, I ran python -m ipykernel install --name mykernel --user, which works for 6.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants