activate virtual environment conda code example
Example 1: conda create environment based on requirements.txt
# using pip
pip install -r requirements.txt
# using Conda
conda create --name <env_name> --file requirements.txt
Example 2: create a virtual environment python conda
conda create -n yourenvname python=x.x anaconda
Example 3: conda env
conda create -n myenv python=3.6
Example 4: conda activate env
conda activate myenv
Example 5: how to activate conda environment
conda activate myenv