以MAC中的sublime text3 为例
打开New BuildingSystem

我的设置如下
{
"cmd": ["/Users/py503/venvs/scrapy_env/bin/python3.7", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"
}
红色字段为:python虚拟环境
保存并重命名
本文介绍如何在SublimeText3中配置Python虚拟环境,包括设置BuildingSystem以使用特定的Python解释器,并提供了一个配置示例。
以MAC中的sublime text3 为例
打开New BuildingSystem

我的设置如下
{
"cmd": ["/Users/py503/venvs/scrapy_env/bin/python3.7", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"
}
红色字段为:python虚拟环境
保存并重命名
700
1834
2269

被折叠的 条评论
为什么被折叠?
