r/archlinux • • 19d ago

SUPPORT | SOLVED cant select kernel in vscode for jupyter notebook

wanna share my experience and solution to an issue i had, where i wasnt able to execute code cells in jupyter notebook, vscode would just prompt me for choosing a kernel, and it wont give me any options, basically a bogus or busted window. neither ai nor stackoverflow were able to help me, tried a lot of stuff like going to settings with ctrl shift p or smth to change kernel in there, and when i did, it just idk didnt save it or smth, basically another glitchy window

also, i tried pycharm, it was not able to execute code cells just like vscode, the solution i wrote here didnt work as well

The solution is reinstalling vscode not from arch repository, but from official site

a lil help for other newbies like me, you will have to extract the folder with tar -xf

then move extracted file to /opt/vscode/ because thats where optional software lies and its meant for convenience only

after that you wanna be able to launch it, what let me do that on sway is sudo ln -s /opt/vscode/bin/code /usr/bin/code

code is how the vscode is called on linux, i suppose you can change its name with last command by changing code to smth else but idk how since idc

0 Upvotes

1 comment sorted by

2

u/ludonarrator 19d ago

AUR has proprietary VSCode binaries, use that instead of whatever ghetto approach you're "recommending".