From 6a13fcf8aa1c9d208c13ce0922dc1e499dad22d5 Mon Sep 17 00:00:00 2001 From: Michael Weinold <23102087+michaelweinold@users.noreply.github.com> Date: Tue, 31 Oct 2023 12:36:04 +0100 Subject: [PATCH] added faq page --- source/content/faq/environment_management.md | 25 ++++++++++++++++++++ source/content/faq/faq.md | 1 + 2 files changed, 26 insertions(+) create mode 100644 source/content/faq/environment_management.md diff --git a/source/content/faq/environment_management.md b/source/content/faq/environment_management.md new file mode 100644 index 0000000..57c8709 --- /dev/null +++ b/source/content/faq/environment_management.md @@ -0,0 +1,25 @@ +# Environment Management + +## How do I save my conda environment for later use? + +```{admonition} Prerequisites +:class: important +1. A working installation of [Conda](https://docs.conda.io/en/latest/) +2. Basic knowledge of [Conda environments](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) +``` + +Perhaps you have already created a Conda environment that you would like to use at a later point (a year after your current LCA project is finished, for example). You can save your environment to a file using the following command: + +```{note} +Replace `` with the name of the environment you want to save. +``` + +```bash +conda list -n --export > ./environment.yml +``` + +This will create a file called `environment.yml` in your current working directory. You can then use this file to recreate the environment at a later point using the following command: + +```bash +conda env create -f environment.yml +``` diff --git a/source/content/faq/faq.md b/source/content/faq/faq.md index 0b17cf8..5b01dd1 100644 --- a/source/content/faq/faq.md +++ b/source/content/faq/faq.md @@ -14,6 +14,7 @@ maxdepth: 3 error_messages brightway data_management +environment_management confusing_results ecoinvent simapro