在Sublime里面配置python3的环境变量方案。在tools菜单下选择 build system 下的new build system .去创建一个配置文件。把里面的内容替换为下面的代码,然后保存。
{
"cmd": ["python_path","-u","$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
}
{
"cmd": ["python_path","-u","$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
}
本文标题:Sublime中关于Python环境变量的配置方案
本文链接:https://www.haomeiwen.com/subject/iliyfftx.html
网友评论