create a new virtual environment in anaconda code example
Example 1: create a virtual environment python conda
conda create -n yourenvname python=x.x anaconda
Example 2: conda activate virtual environment
conda activate env-name
conda create -n yourenvname python=x.x anaconda
conda activate env-name