VS code is a smart text editor. He can only run a third-party program to build your code but don't collect it yourself. To do so is possible, but difficult. In your case it tries to run python, and it's a different programming language.
The easiest way to Win use Visual Studio Community.
cayla_Murray answered on March 19th 20 at 08:42
As in the output of solid gibberish, we can only assume that at startup, could not find g++.
Run the same commands from the command line or configure the output encoding in VS Code to cp866 - codepage by default in the command prompt Russian Windows.