Visual Studio Code 1.60 + Python3.97 64bit 无output输出,要崩溃了

RT...换了台电脑相同的代码跑不动了

 

Terminal里空空如也

Launch Json里面已经增加了configuration,

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: 当前文件",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal"
        }
    ]
}

 

vs code也找到了C:\Python39\Python.exe

 

只有output-python一栏有一些信息

不知道你这个问题是否已经解决, 如果还没有解决的话:

如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^