Create the environment from file.

Add conda-forge as a channel for some packages.
communication
junos 2020-12-24 11:41:21 +01:00
parent dcd5bdbdd1
commit 280fa5867c
2 changed files with 11 additions and 9 deletions

View File

@ -4,16 +4,17 @@ All analysis for the STRAW project.
To install first: To install first:
* Create a conda virtual environment with the correct Python version. * Create a conda virtual environment from the `environment.yml` file.
```commandline ```shell
conda create --name straw2analysis python=3.9 cd config
conda env create --file environment.yml
conda activate straw2analysis conda activate straw2analysis
``` ```
If you have already created this environment, you can update it using:
* Next, install all necessary libraries. ```shell
conda deactivate
```commandline conda env update --file environment.yml
cd config conda activate straw2analysis
conda install --file environment.yml
``` ```

View File

@ -1,6 +1,7 @@
name: straw2analysis name: straw2analysis
channels: channels:
- defaults - defaults
- conda-forge
dependencies: dependencies:
- python=3.9 - python=3.9
- black - black