【发布时间】:2018-09-05 01:54:08
【问题描述】:
我不确定如何在 atom 中使用 python。欢迎任何帮助!这是我尝试运行脚本时的错误!
找不到命令:python 您确定 PATH 配置正确吗?
ENV PATH: C:\Program Files (x86)\Common
Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Program
Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\Syste
m32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA
Corporation\PhysX\Common;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;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;
C:\WINDOWS\system32;
C:\WINDOWS;C:\WINDOWS\System32\Wbem;
C:\WINDOWS\System32\WindowsPowerShell\v1.0\;
C:\Program Files\Git\cmd;
C:\Program Files\MATLAB\R2017b\bin;
C:\Program Files\OpenVPN\bin;
C:\WINDOWS\System32\OpenSSH\;
C:\Users\dalef\AppData\Local\Microsoft\WindowsApp;
C:\Program Files\Heroku\bin;
Error: spawn python ENOENT
at _errnoException (util.js:1024:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
【问题讨论】:
-
默认情况下,Atom 不运行代码。了解您使用哪个包来运行代码会很有帮助。
标签: python atom-editor