【发布时间】:2013-04-13 15:55:13
【问题描述】:
对不起,伙计们,我不完全了解如何让 sublime 在我的机器上与 python 交互。谁能帮忙。
我做 ctrl-B 时得到的错误如下:
【错误2】系统找不到指定的文件[cmd: [u'python', u'-u', u'C:\Users\User\AppData\Roaming\Sublime Text 2\Packages\User\Default (Windows).sublime-keymap']] [目录: C:\Users\User\AppData\Roaming\Sublime Text 2\Packages\User] [路径: C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program 文件 (x86)\通用文件\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program 文件\英特尔\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Windows Live\Shared;c:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;c:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;c:\Program Files\WIDCOMM\Bluetooth 软件\;c:\Program Files\WIDCOMM\Bluetooth 软件\syswow64;C:\Program Files\Samsung\AllShare Framework DMS\1.3.06\;C:\Program Files\Samsung\AllShare Framework DMS\1.3.06\64bit\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon] [已完成]
【问题讨论】:
-
您是否将 Python 添加到您的 PATH 中?
-
我认为您必须在环境变量内的
PATH变量中添加一个条目C:/python27/。 Adding Python to DOS Path -
这就像将
C:\Python27添加到PATH一样简单。 @AshwiniChaudhary 提交作为答案
标签: python ide sublimetext2