我很难将我的原子设置为IDE。平台开发终端包不会运行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.一行:1字符:1+ python3 myfile.py3 +~~+ CategoryInfo : ObjectNotFound:(python3 3:String) [],CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
发布于 2018-05-30 23:56:44
一些windows终端接受py -3而不是python3作为适当的别名,即打开和运行python程序的命令。
https://stackoverflow.com/questions/50419257
复制相似问题