anaconda export environment code example
Example 1: conda export environment
# conda export environment.yml
conda env export > environment.yml
# conda create environment from file (Same environment name)
conda env create -f environment.yml
Example 2: how to make a conda environment
conda create --name myenv
#to activate environment:
conda activate myenv
Example 3: conda env
conda create --name myenv
Example 4: conda create environment from file
conda env create -f environment.yml
Example 5: clone an environment conda
conda create --name myclone --clone myenv