Skip to content

Generating the YAML file

bdsmith147 edited this page Jul 8, 2021 · 1 revision

Generating the conda environment.yml file

Use this command when exporting the yml file:

conda env export --from-history --no-builds --file environment.yml

  • The --from-history flag only exports the explicitly installed packages and doesn't include their dependencies.
  • The --no-builds flag exports the packages in a way that's better for inter-OS operability.
Clone this wiki locally