set up anaconda environment code example
Example 1: conda create environment based on requirements.txt
# using pip
pip install -r requirements.txt
# using Conda
conda create --name --file requirements.txt
Example 2: conda environment.yml
conda env create -f environment.yml
Example 3: anaconda create new environment
conda create -n myenv python=3.6
Example 4: activating anaconda environment
conda activate myenv