ipykernel icon indicating copy to clipboard operation
ipykernel copied to clipboard

Different Kernels for Same venv Name

Open jokikim opened this issue 2 years ago • 0 comments

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 avatar Jul 12 '23 23:07 jokikim