randy3k / Terminus

Bring a real terminal to Sublime Text
https://packagecontrol.io/packages/Terminus
MIT License
1.4k stars 82 forks source link

Terminus not recognizing venv packages #338

Open 0piero opened 2 years ago

0piero commented 2 years ago

I'm currently using a python module in a virtual environment and a build-system with target terminus_exec: { "target": "terminus_exec", "cancel": "terminus_cancel_build", "focus": true, "timeit": false,

"cmd": ["C:/Users/user/folder/Scripts/python", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"env": {"PYTHONIOENCODING": "utf-8"},

"windows": {
    "cmd": ["py", "-u", "$file"],
},

"variants":
[
    {
        "name": "Syntax Check",
        "cmd": ["python3", "-m", "py_compile", "$file"],

        "windows": {
            "cmd": ["py", "-m", "py_compile", "$file"],
        }
    }
]

}

randy3k commented 2 years ago

I don't exactly sure if I understand what issue you have encountered. Could you elaborate?