Python 3.x ';python';未被识别为内部或外部命令、可操作程序或批处理文件。VScode中的错误

Python 3.x ';python';未被识别为内部或外部命令、可操作程序或批处理文件。VScode中的错误,python-3.x,visual-studio-code,installation,Python 3.x,Visual Studio Code,Installation,出于python编码的目的,我最近转向了VScode,在设置环境之后,我尝试运行一个简单的Hello World代码来测试它,但我遇到了这个错误 'python' is not recognized as an internal or external command, operable program or batch file. 我重新启动了Windows,卸载并重新安装了Python。我的Python解释器设置为正确的路径。但我似乎还是无法让它发挥作用 编辑:并且Python路径在系统环

出于python编码的目的,我最近转向了VScode,在设置环境之后,我尝试运行一个简单的Hello World代码来测试它,但我遇到了这个错误

'python' is not recognized as an internal or external command,
operable program or batch file.
我重新启动了Windows,卸载并重新安装了Python。我的Python解释器设置为正确的路径。但我似乎还是无法让它发挥作用


编辑:并且Python路径在系统环境变量中

请验证系统环境变量中是否有Python路径?是的。它是。我刚检查过。试着重新启动vs代码。请验证系统环境变量中是否有Python路径?是的。它是。我刚检查过。试着重新启动vs代码