Answers for "activate anaconda env bash"

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
2

create anaconda environment in shell

conda create -n env_name

#To create environment and install package (eg. python version 3.3)
conda create -n env_name python=3.3

#To use an env, you need to activate the environment:
conda activate env_name

#To see a list of all env you've created:
conda env list
Posted by: Guest on September-13-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language