How to make new anaconda env from yml file
The above answers did not work for me with conda 4.7.12, but this (from the Anaconda documentation) did:
conda env create -f environment.yml
conda env create --file environment.yml
conda env create
allows an option --file
for an environment file:
conda env create --name envname --file=environments.yml