Answers for "bash run a command in a conda environment"

1

Activate Conda Environment in Bash Script

eval "$(conda shell.bash hook)"
conda activate <env-name>
Posted by: Guest on May-31-2021
2

how to activate conda environment on linux terminal

conda create --name <env_name> #this creates the environment
conda activate <env_name> #this activates the environment

#if conda activate <env_name> does not work then try the following
source ~/anaconda3/etc/profile.d/conda.sh
conda activate <env_name>
Posted by: Guest on December-31-2020

Code answers related to "bash run a command in a conda environment"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language