you can check this , this is same issue as yours https://github.com/microsoft/vscode-python/issues/24251
issue is resolve by doing: Just as it is shown in the video of @CardonaEA , the error started me after I disabled the REPL to be executed after the keyboard shortcut SHIFT + ENTER.
However, even specifying in "Preferences: Open Workplace Settings (JSON)" the setting "python.REPL.sendToNativeREPL" to false, the KeyboardInterrupt still shows up. I don't know if it is related to the issue, but even if I still turn it to false in "Preferences: Open Workplace Settings (JSON)", in the page "Preferences: Open Default Settings (JSON)" (which I cannot edit), the setting "python.REPL.sendToNativeREPL" is still set true.