Answers for "how to create a conda environment in linux terminal"

6

conda create environment based on requirements.txt

# using pip
pip install -r requirements.txt

# using Conda
conda create --name <env_name> --file requirements.txt
Posted by: Guest on September-09-2020
1

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
1

how to activate conda environment

conda activate myenv
Posted by: Guest on August-23-2020

Code answers related to "how to create a conda environment in linux terminal"

Python Answers by Framework

Browse Popular Code Answers by Language