conda export venv code example
Example 1: conda create environment from file
conda env create -f environment.yml
Example 2: clone an environment conda
conda create --name myclone --clone myenv
conda env create -f environment.yml
conda create --name myclone --clone myenv