Activate Conda Environment in Bash Script code example
Example 1: CommandNotFoundError: Your shell has not been properly
source ~/anaconda3/etc/profile.d/conda.sh
conda activate my_env
Example 2: Activate Conda Environment in Bash Script
eval "$(conda shell.bash hook)"
conda activate <env-name>