You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to activate a specific conda environment within the runner? #298
When inside tmux, the new pane invoked by vim-dispatch will use a default conda environment. Anyone using vim-dispatch inside a conda environment? Is there a way to activate a specific conda environment in the process started by vim-dispatch?
I have tried to call conda inside the command being passed to Start and Dispatch but with no success.
And I can confirm this is producing the same issue.
__START__
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run
$ conda init <SHELL_NAME>
Currently supported shells are:
- bash
- fish
- tcsh
- xonsh
- zsh
- powershell
See 'conda init --help' for more information and options.
IMPORTANT: You may need to close and restart your shell after running 'conda init'.
___END___
Activity
mbilyanov commentedon May 22, 2020
I'm aware this might be a conda issue. Just wondering if someone attempted the similar thing I'm attempting. I tried this:
tmux new-window -n:mywindow 'echo "__START__"; conda activate py37; echo "___END___"; sleep 5'And I can confirm this is producing the same issue.