

When opening a folder in VS Code, you will be asked if you trust the authors and content of the folders. What does this mean with respect to notebooks? Visual Studio Code takes security seriously and the Workspace Trust feature allows you to determine which project folders and content you trust, and which ones you would like to keep in restricted mode.

If you’re interested, you can check the full list of improvements in our changelog. Improvements to our Data Viewer and Variable Explorer.Additional Native Notebook layout settings.You can learn more about Python support in Visual Studio Code in the documentation. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. If you are working with Python, we recommend downloading the Python extension from the Marketplace, or installing it directly from the extension gallery in Visual Studio Code. None of the above resolved my original issue.We are pleased to announce that the June 2021 release of the Jupyter Extension for Visual Studio Code is now available. I have seen all possible solutions but not work, finally I just upgrade jupyter, notebook, and jupyterlab, like pip install -U jupyterlab, and I can choose the kernel in VScode! you can choose the python version installed on your machine. I chose python 3.7.5 and it worked for me.It would show you a dropdown of python versions installed.Type Jupyter: Select Interpreter to start Jupyterserver.Press Command+Shift+P on mac, Ctrl+Shift+p on windows.Type >Python: Select Intepreter to start jupyter notebook server.Press Command+Shift+P to open a new command pallete.This exhaustive question on Stack Overflow with the same issue as mine includes many creative potential solutions: python - jupyter server : not started, no kernel in vs code - Stack Overflow Here is “Python v3.8.5 (conda)” showing as selected at the bottom and slightly to the left: Here is VSC print out a list of currently installed extensions with version Kernel choice VSC 949×539 65 KB So after much wrangling, I resolved to uninstalling all my Jupyter extensions and keeping only the main ms-python extension. Apparently if you have multiple installed, they can interfere with each other. I was looking in other places online like Stack Overflow where users who had ms-python extension installed (which includes Jupyter functionality) and then had additionall stand-alone Jupyter Notebook extensions installed.
