How to set a default kernel for jupyter notebook in Positron? #6244
Replies: 4 comments 4 replies
-
In short, this should be resolved by setting {
"python.defaultInterpreterPath": "/opt/miniconda3/envs/ds/bin/python",
# other configuration lines
} https://github.com/microsoft/vscode-python/wiki/Setting-descriptions#pythondefaultinterpreterpath However, I don't think Positron is respecting the startup workflow as it seems to randomly default into the first found interpreter? ![]() |
Beta Was this translation helpful? Give feedback.
-
Thanks for the idea, and yeah, Positron doesn't seem to recognize these setting parameters. ![]() |
Beta Was this translation helpful? Give feedback.
-
Thank you for the feedback @matthewgson and @coatless! I've created two issues based on this discussion:
Was Positron launched in a workspace (more info here)? When in a workspace, Positron should use the workspace's selected interpreter for all Jupyter notebooks, so that might be the simplest workaround for now. |
Beta Was this translation helpful? Give feedback.
-
@seeM Thank you. I launched positron without workspace and would like to set default interpreter for this cases. Perhaps could it also be possible to set default interpreter to R for jupyter notebook too? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Every time I open a .ipynb file, I have to change the default python kernel (venv) to what I mostly use. I'm wondering if there's feature to set this?
Beta Was this translation helpful? Give feedback.
All reactions