conda create new environment with existing code example
Example 1: create an environment in conda
conda create --name myenv
Example 2: conda create environment from file
conda env create -f environment.yml
conda create --name myenv
conda env create -f environment.yml