how to create new environment in anaconda for mac code example
Example 1: create a virtual environment python conda
conda create -n yourenvname python=x.x anaconda
Example 2: conda deactivate
conda deactivate
conda create -n yourenvname python=x.x anaconda
conda deactivate