2 ответов
+ 3
VS is merely an editor. To run Python code we also need an interpreter for it. Download and install it from the Python page.
Then you need to tell VS where your Python installation is and the computer. Now you can run Python from VS.
+ 2
Maybe you installed python extension for vs code instead of python, first go to browser and download python, then add environment variable.
Search on how to add environment variable and learn it. It's very important.