Your shell has not been properly configured to use 'conda activate'. linux 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