vscode的使用(问题解决)

 

零、参考

 

"Python was not found but can be installed from the Microsoft Store"

 

一、问题

 

1.1 python环境配置

 

问题描述:

执行python代码时候报错,

[Running] python -u "g:\python_projects\yzpython\py_code\hello.py"
Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640
[Done] exited with code=9009 in 0.441 seconds

解决方式:

(1) 该问题是没有找到合适的python解释器造成的;

(2) 由于使用的python运行插件是 Code Runner,无法自动匹配解释器位置;

(3) 将运行插件替换为python,该问题解决

posted @ 2020-10-15 11:07  一曲广陵散yz  阅读(1031)  评论(0)    收藏  举报