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

Different Kernels for Same venv Name #1132

Open
jokikim opened this issue Jul 12, 2023 · 0 comments
Open

Different Kernels for Same venv Name #1132

jokikim opened this issue Jul 12, 2023 · 0 comments

Comments

@jokikim
Copy link

jokikim commented Jul 12, 2023

Issue:
Let's say I have a venv called "env" in Directory A, and also another venv elsewhere with the same name "env" in Directory B. If I create a new kernel (display-name = "Kernel A") in Directory A based on the first "env", then try to create a separate kernel (display-name = "Kernel B") in Directory B based on the second "env," I noticed that only the second kernel is kept. It seems to overwrite the Kernel A, perhaps since both are based on a venv with the same name "env."

I haven't done too much digging, and since I'm still exploring much of the functionalities of ipykernel, I may have missed something here.

Is there a way to create a separate kernel with a different display-name that references different venvs that use the same name?

@jokikim jokikim changed the title Different Kernel for Same venv Name Different Kernels for Same venv Name Jul 12, 2023
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

1 participant