eval "$(conda shell.bash hook)" code example
Example: CommandNotFoundError: Your shell has not been properly
source ~/anaconda3/etc/profile.d/conda.sh
conda activate my_env
source ~/anaconda3/etc/profile.d/conda.sh
conda activate my_env