执行python代码时,如何在PowerShell中修复“ CommandNotFoundException”?

时间:2019-10-11 21:56:21

标签: python-3.x powershell

我在Udemy上开设了python基础课程,并按照说明在PowerShell中执行了第一个start.py代码。 我在start.py所在的文件夹中打开了PowerShell。

PS C:\Users\burigs\Desktop\Desktop\Programming\Python\IntroToProgramming> python .\start.py
python : The term 'python' 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:1
+ python .\start.py
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (python:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

0 个答案:

没有答案