block by maptastik 013e2d5891628e26a78a2dfd6fde3b81

013e2d5891628e26a78a

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.

activate old-environment

Then export then environment to environment.yml

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