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