ipython / ipython/ipykernel

Different Kernels for Same venv Name

未关闭
#1,132 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
734
派生
412
平均合并
1 天 5 小时
30 天内合并 PR
8

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。