当我在 vs 代码中运行 .py 文件时出现此错误,它表示无法识别某些内容,任何人都可以帮我解决这个问题吗?

问题描述

在 vs 代码中运行 .py 文件时出现此错误

n38-32" "c:/Users/hassan kh/Desktop/MY FOLDER/Python Projects/1_1.py"
& : The term 'C:/Users/hassan kh/AppData/Local/Programs/Python/python38-32' is not recognized as the name of a cmdlet,function,script file,or operable program. Check the spelling of the name,or 
if a path was included,verify that the path is correct and try again.
At line:1 char:3
+ & "C:/Users/hassan kh/AppData/Local/Programs/Python/python38-32" "c:/Users/hassa ...
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:/Users/hassan...hon/python38-32:String) [],CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

删除了 Python 和 vs 代码并重新安装了它,但我仍然收到此错误。如果有人知道或以前遇到过这个问题,请告诉我我该如何解决

解决方法

路径是不是应该在路径中加反斜杠\。