Jupyter: Specify path to Kernel #10404
Replies: 3 comments 3 replies
-
I'm trying to better understand your workflow, please could you clarify my understanding of the problem:
If i understand this correctly, you are some how ending up with the kernels
Assume you opened the project
|
Beta Was this translation helpful? Give feedback.
-
Was this ever resolved? I'm experiencing a similar issue. I have several folders open, each with their own venv called ".venv". With a new notebook I see the following options when selecting a kernel: That's obviously not very helpful. It sounds from your comment @DonJayamanne that this is not a state I should be getting into at all, although I still think that the kernel picker should disambiguate with absolute paths (or perhaps always show them when a kernel is selected). VSCode generally does a good job of that in other places. Apologies for necroing this old discussion. I came here on the direction of the bug report form at https://github.com/microsoft/vscode-jupyter/issues/new/choose |
Beta Was this translation helpful? Give feedback.
-
Closing this discussion as resolved |
Beta Was this translation helpful? Give feedback.
-
I'd like to be able to directly specify the path to a kernel for Jupyter, rather than only have the option to select it from a list. Preferably this would be something that can be set in the workspace preferences or the *.ipynb itself. It doesn't seem like this is possible with VSCode currently - is this an external technical limitation that is imposed by Jupyter, or should I make a feature request?
Background:
I'm managing a large number of projects (500+) each of which have their own virtualenvs. I'd like to be able to open VSCode inside one of these projects and use Jupyter Notebooks without having to install every single kernel and search through a giant list of the venvs. This search is made especially difficult since the naming convention for all the virtual environments is to name them all ".venv". If was was able to specify the path to the Kernel in the workspace settings or the ipynb file it would solve my problem.
Beta Was this translation helpful? Give feedback.
All reactions