Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically picking notebook kernel : Vs Code

I want a way to automatically select a specific kernel automatically each time I create a .ipynb file in VS code, searched and all I found are methods to fix other issues (like when you close and reopen Vs code the kernel of an already existing notebook isn't selected).

like image 203
Abdelrahmane Khaldi Avatar asked Jun 09 '26 00:06

Abdelrahmane Khaldi


1 Answers

For your requirement itself, this is an existing feature request on github.

Usually, python.defaultInterpreterPath in settings.json can achieve the same goal.

like image 191
MingJie-MSFT Avatar answered Jun 11 '26 14:06

MingJie-MSFT



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!