sublime 3 python build "Decode error - output not utf-8"
原因:sublime调用windows cmd,字符集没弄对导致的
解决:没有全局搜索,没有找到网上说的自带的python.build文件。所以用了另一种方法:
tools > build system > new build system
{
"shell_cmd": "python -u \"$file\"",
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"env": {"LANG": "tr_TR.UTF-8", "PYTHONIOENCODING": "UTF-8"}
}
biang!
浙公网安备 33010602011771号