I've installed Qiime2 2020.8 in a conda environment and followed all the steps on Natively installing QIIME 2 — QIIME 2 2020.8.0 documentation. When I activate Qiime2 in the terminal (using conda activate qiime2-2020.8) all goes well, but when I try to run this command from within a bash file, it gives me an error message saying
CommandNotFound: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run
$ conda init {SHELL_NAME}
When I do this, there is no action taken, implying it should all be fine. Again, this works for activating in the shell, but not for activating in a bash file. Does anyone know how to solve this? Thanks in advance!