0

我无法将我的 atom 设置为 IDE。platformio-ide-terminal 包不会运行 python。我有一个名为 myfile.py 的简单文件,它打印一个句子。我的工作目录位于我为使用 atom 的课程创建的素材中的文档中。我在 atom 的命令行中收到以下错误消息:

PS C:\Users\Angus\Documents\UdemyPython_10Apps\Beyond_Basics> python3 myfile.pypython3 : The term 'python3' is not recognized as the name of a cmdlet, function, script file, oroperable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

在 line:1 char:1 + python3 myfile.py3 + ~~~~~~~ + CategoryInfo : ObjectNotFound: (python3:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

4

1 回答 1

0

一些 Windows 终端接受 py -3 而不是 python3 作为正确的别名,即打开和运行 python 程序的命令。

于 2018-05-30T23:56:44.940 回答