randy3k / Terminus

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

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

Open mrrezaie opened 8 months ago

mrrezaie commented 8 months 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",
     ...
     ]