Answers for "activate conda with source"

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
0

conda activate virtual environment

conda activate env-name
Posted by: Guest on September-16-2020
0

activate conda with source

#!/bin/bash
source /Users/yourname/anaconda/bin/activate your_env
python --version # example way to see that your virtual env loaded as expected
Posted by: Guest on January-05-2021

Browse Popular Code Answers by Language