VS Code - How do I select Jupyter Kernel for a workspace?

Viewed 2670

I have some .ipynb files in a VS Code workspace (they're all in the same directory).

This is my workspace config at .vscode/settings.json:

{
    "python.pythonPath": "/usr/local/anaconda3/bin/python"
}

I know how to set the default python interpreter for the workspace, but couldn't figure out a way to do the same for the jupyter kernel, and every time I open a notebook file, VS Code would prompt me to select a kernel for the notebook opened.

Is there a way to do this?

0 Answers
Related