欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

VSCode 运行Python出现 Python was not found but can be installed from the Microsoft Store

程序员文章站 2022-07-15 08:04:22
...

解决办法

在 setting.json 里添加如下代码即可

"code-runner.executorMap": {
        "python":"$pythonPath $fullFileName",
    }

VSCode 运行Python出现 Python was not found but can be installed from the Microsoft Store

问题解决
VSCode 运行Python出现 Python was not found but can be installed from the Microsoft Store