【发布时间】:2018-12-29 03:01:36
【问题描述】:
我已经在 D: 驱动器中安装了 Python 3.7.2(为程序分开)。安装 Sublime Text 的便携版后,它无法识别我的 Python 安装,当我运行 Python 程序时出现以下错误:(顺便说一句,我尝试了其他问题中建议的其他方法,但它仍然无法识别我的安装运行。我仍然可以编辑代码,但不能运行它)。
'python' is not recognized as an internal or external command,
operable program or batch file.
[Finished in 0.1s with exit code 1]
[shell_cmd: python -u "D:\Program Files\Python\Python37\MyScripts\GameIdea.py"]
[dir: D:\Program Files\Python\Python37\MyScripts]
[path: c:\program files (x86)\intel\intel(r) management engine components\icls\;c:\program files\intel\intel(r) management engine components\icls\;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;c:\windows\system32\openssh\;c:\program files (x86)\intel\intel(r) management engine components\dal;c:\program files\intel\intel(r) management engine components\dal;c:\program files (x86)\intel\intel(r) management engine components\ipt;c:\program files\intel\intel(r) management engine components\ipt;%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem;%systemroot%\system32\windowspowershell\v1.0\;%systemroot%\system32\openssh\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\Arnold\AppData\Local\Microsoft\WindowsApps;]
【问题讨论】:
标签: sublimetext3