Maybe there is problem with your interpreter.
Try this: Ctrl + Shift + P → Python: Select Interpreter → select your path (C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\python.exe)
Answer from Kezif Garbian on Stack Overflowhttps://code.visualstudio.com/docs/python/environments
windows - Visual Studio Code not running Python - Stack Overflow
Why is using Python in VSCode such a pain in the butt?
a problem on vscode can't find python interpreter
Issue with python 3.11.1 on visual studio code
Videos
Maybe there is problem with your interpreter.
Try this: Ctrl + Shift + P → Python: Select Interpreter → select your path (C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\python.exe)
https://code.visualstudio.com/docs/python/environments
If you have installed Python from an executable file and not from the Windows Store, you can change your terminal setting from internal to external and make cmd as the default terminal in Visual Studio Code.
You can directly edit those setting from settings.json:
"terminal.explorerKind": "external",
"terminal.integrated.defaultProfile.windows": "Command Prompt"
So I'm learning python and initially started using Pycharm but have been trying to get comfortable writing Python in VSCode.
So I'm now comfortable using python3 -m venv myenv and . myenv/bin/activate to create and use a virtual environment. But then i spent like 3 hours messing around because I was getting a "ModuleNotFoundError: No module named X" error by importing a sub-folder referencing a Class into my main.py file and came across this article for a solution, adjusting PYTHONPATH.
I think it turned out I wasn't referencing a instance variable correctly, but I had to talk to 3 people to figure out what was going on. VScode wasn't running but terminal was running the program without this error.
Anyways... is that all I need to learn to run python in Vscode or are there other weird things I will have to learn to keep in mind with starting a project in VSC?