自建的python运行环境如下:python3
找到python3.sublime-build文件打开,在文件中加入"env": { "PYTHONIOENCODING": "utf8" }, 即可
文档包含:
{ "cmd": ["D:\Software\Python37\python.exe","-u","$file"], "file_regex": "^[ ]*File "(...*?)", line ([0-9]*)", "selector": "source.python", "env": { "PYTHONIOENCODING": "utf8" }, }