
The value of python in the terminal is entirely disconnected from what you select in VS Code as the terminal controls what is on PATH. Now it should list out all the configured environments. Install python extension for visual studio code.

but for Python Microsoft Python and Jupyter extension is the best. Short Answer: Install Extension: Python extension for Visual Studio Code. If you go with both the options, you install Code Runner and Microsoft Python and Jupyter extensions then the Microsoft Python extension will only work if you disable Code Runner.Ĭode Runner is a good extension for C, C++, Java, Javascript, Perl. You must go with the first option by Microsoft. Install Code Runner, code -install-extension de-runner Or you can use your terminal or command prompt to install it. Search for Code Runner in Microsoft Visual Studio Code's Extension: Marketplace and hit on install. Install Code Runner for Visual Studio Code.Install Microsoft Jupyter extension, code -install-extension ms-toolsai.jupyter Install Microsoft Python extension, code -install-extension ms-python.python

Open the terminal or command prompt and write these commands there. Or you can use your terminal or command prompt to install them. Search for Jupyter in Microsoft Visual Studio Code's Extension: Marketplace and hit on install. Search for Python in Microsoft Visual Studio Code's Extension: Marketplace and hit on install.
