Create the environment from file.
Add conda-forge as a channel for some packages.communication
parent
dcd5bdbdd1
commit
280fa5867c
19
README.md
19
README.md
|
@ -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
|
||||
```
|
|
@ -1,6 +1,7 @@
|
|||
name: straw2analysis
|
||||
channels:
|
||||
- defaults
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.9
|
||||
- black
|
||||
|
|
Loading…
Reference in New Issue