Last active
December 22, 2022 06:07
-
-
Save wasdee/713f381963f410b7a1189b1df279a1ea to your computer and use it in GitHub Desktop.
conda export env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.conda.io/projects/conda/en/latest/_downloads/843d9e0198f2a193a3484886fa28163c/conda-cheatsheet.pdf | |
conda env export --from-history > environment.yml | |
# to restore, must use with env cmd group https://github.com/conda/conda/issues/6827#issuecomment-365614464 | |
conda env create --file environment.yml | |
conda create -n env_name --file environment.yml #ERROR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment