Your shell has not been properly configured to use 'conda activate'
I want SLURM to use my conda environment. In my shell, I use
conda init bash
conda activate myenv
But I still got this error
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'.