My newly setup conda fails when I try to activate an existing environment inside tmux. Apparently it finds the conda binary but cannot run the command. Inside bash it works as expected.
Steps:
Open bash
Check that conda activate works in bash
Open tmux
Run conda activate in tmux, output below
xxx@xxx:~$ conda activate 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'.