报错如下图:
解决办法:
安装目录(..\Sublime Text 3\Data\Packages\User\)下面新建文件:Python.sublime-build
内容:
{
"shell_cmd": "python -u \"$file\"",
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"encoding": "gbk"
}
重新运行即可
报错如下图:
解决办法:
安装目录(..\Sublime Text 3\Data\Packages\User\)下面新建文件:Python.sublime-build
内容:
{
"shell_cmd": "python -u \"$file\"",
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"encoding": "gbk"
}
重新运行即可