randy3k / Terminus

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

[Fixed] activate a conda environment before calling Python #405

Open mrrezaie opened 1 year ago

mrrezaie commented 1 year ago

Hi, in order to activate a Conda environment conda activate MyEnv followed by invoking iPython, just separate every word of the commands as strings and add && between the commands. This setting works for me (Windows 10) and I'm posting this for other users who need this.

"cmd": [
     "conda", "activate", "MyEnv",
     "&&",
     "ipython",
     ...
     ]