This is an example of exporting an environment so it can be used to create a new environment. It will also show how to specify a channel that should be included in the build process
First, you’ll need to activate the environment you want to use.
Then export then environment to
conda env export -c esri > environment.yml
Finally, create the new environment
conda env create -n new-environment --file path-to-wherever-yousaved/environment.yml