ipython / ipython/ipykernel

Different Kernels for Same venv Name

Open
#1,132 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
734
Forks
412
Avg merge
1d 5h
Merged PRs (30d)
8

Description

**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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.