在同时安装了python2和python3后
编译系统里选择python3可以正常调试
但是Python就会报找不到python27
安装PackageResourceViewer后,修改python的设置
{
"shell_cmd": "py -2 -u \"$file\"",
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"env": {"PYTHONIOENCODING": "utf-8"},
"variants":
[
{
"name": "Syntax Check",
"shell_cmd": "py -2 -m py_compile \"${file}\"",
}
]
}
温馨提示:答案为网友推荐,仅供参考