create environment.yml file conda code example
Example 1: how to make a conda environment
conda create --name myenv
#to activate environment:
conda activate myenv
Example 2: anaconda virtual environment LIST
conda env list
conda create --name myenv
#to activate environment:
conda activate myenv
conda env list