Please see solution here microsoft/vscode#130946 (comment)
python - How does one connect a Jupyter Kernel to VS Code if one does not connect automatically? - Stack Overflow
VSCode, Python, Jupyter Extension - "Select Kernel" does not find anything
Select a kernel is empty
No kernel dropdown when trying to run Jupyter in VSCode
Videos
You need to select the python interpreter for jupyter, you can do it by following the step
Open command panel
Mac:
CMD+Shift+PPC:
CTRL+SHIFT+PThen search for
select Interpreter to start jupyter serverthen hit enter, it will list all the interpreter, then select any interpreter and done!
it's just a one time process, after this, it will get connected automatically.
As bizarre as it seems, I also noticed this the other day and the only thing that works so far for me is to open VS Code by launching it from the Anaconda Navigator:

Then I get, as expected:

guys when i want to select a kernel there is no list of kernels also i cant run jupyter code as it doesnt show run option to the left of the code
Hi. I'm trying to run some code in a Jupyter notebook in VSCode. Whenever I try to do this, I get a pop up that asks me to select a kernel. I also see this is written on the top right of the window I'm in. The problem is that there is nothing in this dropdown menu, and I therefore cannot run anything.
I am running VSCode with the Python and Jupyter extensions installed. I've created a virtual environment and installed ipykernel. I've also tried to install jupyter to see if that helped, but it didn't. And yes, the environment is selected (by opening the menu in VSCode, selecting "Select Python interpreter" and picking the Python-binary in .venv). I've rebooted my machine and reinstalling the extensions, yet it does not solve the issue. Running normal python files works fine.
Any tips? Cheers.