anaconda source activate code example
Example 1: conda create environment python 3.6
conda create -n myenv python=x.x
Example 2: conda create environment from file
conda env create -f environment.yml
conda create -n myenv python=x.x
conda env create -f environment.yml