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:
* Create a conda virtual environment with the correct Python version.
* Create a conda virtual environment from the `environment.yml` file.
```commandline
conda create --name straw2analysis python=3.9
```shell
cd config
conda env create --file environment.yml
conda activate straw2analysis
```
If you have already created this environment, you can update it using:
* Next, install all necessary libraries.
```commandline
cd config
conda install --file environment.yml
```
```shell
conda deactivate
conda env update --file environment.yml
conda activate straw2analysis
```

View File

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