conda virtual env code example
Example 1: create a virtual environment python conda
conda create -n yourenvname python=x.x anaconda
Example 2: conda list environments
conda info --envs
Example 3: conda env
conda env list
Example 4: new env in conda
conda create --name myenv
Example 5: conda activate virtual environment
conda activate env-name