I am really not in a position to tell. There are three participants here: the OS, Python and VS Code. I wouldn’t even know where the culprit would be.
Wild guess
Probably in the terminal Python finds out where the file executing ( Scripts/SC1.py) is located and adds that folder to the path
while VS Code adds the current directory to the path.
Option 1 and 2 that @frostming suggested seem both fine to me. Go with one of those.