Change Jupyter Kernel/Env for Notebooks via Command Line in VS Code #14356
Unanswered
DeepakArora76
asked this question in
Questions and Answers
Replies: 1 comment
-
I have searched extensively on the internet for solutions but have yet to find any methods to achieve this. I am here to ask for your help to guide me on how to solve this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As a developer using VS Code with the vscode-jupyter extension, I frequently work on Jupyter notebooks within various virtual environments created using Poetry. Switching between these environments manually through the UI can be time-consuming, especially when dealing with multiple notebooks. Is there a command line feature that would make managing different environments more efficient and streamline development? The ability to change the kernel(env) programmatically from the command line would significantly improve my workflow. The idea is to run a command-line tool or script that changes to the specified env and then launch the vs-code, which would have an updated env.
If not a command-line option, then something as an initial cell which sets or changes the env. Below is an example that does not do anything or change in vscode, but this suggestion could be an alternative to the command-line thing.
Beta Was this translation helpful? Give feedback.
All reactions