安装目录的Packages目录下的python文件夹下的Python.sublime-build复制以下内容,保存
{"cmd": ["python", "-u", "$file"],"path":"D:/Python27","file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)","selector": "source.python"}