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

Kernel died before replying to kernel_info #75

Closed
librarianmage opened this issue May 23, 2023 · 8 comments
Closed

Kernel died before replying to kernel_info #75

librarianmage opened this issue May 23, 2023 · 8 comments

Comments

@librarianmage
Copy link

Every time I try using the python kernel, it fails with the above RuntimeError.

If it is relevant, I have installed euporie using pipx and the dev branch.

@librarianmage
Copy link
Author

The sage kernel, by comparison, has always worked

@JustinStitt
Copy link

I am having the same issue.

@JustinStitt
Copy link

@librarianmage Resolved with $ pip install ipykernel

@joouha
Copy link
Owner

joouha commented May 24, 2023

This closed issue shows how to fix the problem:

This looks like your ipykernel install is probably a bit broken. Try:

Re-installing or updating ipykernel:

pip install --upgrade ipykernel

Re-registering the ipython kernel:

python -m ipykernel install --user

@joouha
Copy link
Owner

joouha commented May 24, 2023

There seem to be quite a few people encountering this - I'm wondering whether when euporie is installed in a virtual environment, the default ipykernel kernelspec means that the kernel gets launched from inside euporie's virtalenv, which fails.

I'll do some testing

@joouha
Copy link
Owner

joouha commented May 24, 2023

I think this is caused by an issue in jupyter_client (although it can be worked-around using the steps above). I've reported it upstream.

@ghost
Copy link

ghost commented May 26, 2023

This closed issue shows how to fix the problem:

This looks like your ipykernel install is probably a bit broken. Try:
Re-installing or updating ipykernel:

pip install --upgrade ipykernel

Re-registering the ipython kernel:

python -m ipykernel install --user

I had this problem and these steps fixed it.

I think they should be put in the install instructions in the README until the issue is fixed.

@joouha
Copy link
Owner

joouha commented May 26, 2023

I think they should be put in the install instructions in the README until the issue is fixed.

This is a good idea - I'll add something

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

3 participants