ipython / ipython/ipykernel

Different Kernels for Same venv Name

Offen
#1,132 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
734
Forks
412
Ø Merge
1 T. 5 Std.
Gemergte PRs (30 T.)
8

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.