【发布时间】:2020-05-28 12:01:44
【问题描述】:
我不想使用“py myfile.py”,我使用“python myfile.py”。
- 虽然运行 'py file.py' 有效。
- 我确实安装了 python 扩展
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
VS 工作室仍然给我错误,但在此之前我做了“选择 python 解释器”。 它是在我的标准安装中设置的:
C:\Users\Admin\AppData\Local\Programs\Python\Python38
我在 SO 上关注了另一个类似的问题,是否重新启动 - 我做错了什么?
【问题讨论】:
标签: python visual-studio