create package from environment code example
Example 1: conda create environment without packages
conda create --name myenv python=3.8 --no-default-packages
Example 2: conda create environment from file
conda env create -f environment.yml
conda create --name myenv python=3.8 --no-default-packages
conda env create -f environment.yml