Skip to content

Commit

Permalink
Merge pull request #1121 from LCA-ActivityBrowser/libmamba-solver-ins…
Browse files Browse the repository at this point in the history
…tall

Update install instructions to use libmamba solver with conda
  • Loading branch information
marc-vdm authored Nov 13, 2023
2 parents f9da392 + 5c7b5e6 commit 70259e1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Please also read and cite our [scientific paper](https://doi.org/10.1016/j.simpa
### Some highlights

- **Fast LCA calculations**: for multiple reference flows, impact categories, and scenarios
- **A productivity tool for brightway**: model in brightway (python) and see the results in the AB or vice-versa
- **A productivity tool for brightway**: model in brightway (python) and see the results in the AB or vice-versa
- **Advanced modeling:** Use parameters, scenarios (including prospective LCI databases from [premise](https://premise.readthedocs.io/en/latest/)), uncertainties and our Graph Explorer
- **Advanced analyses:** Contribution analyses, Sankey Diagrams, Monte Carlo, and Global Sensitivity Analysis

Expand Down Expand Up @@ -49,7 +49,7 @@ Please also read and cite our [scientific paper](https://doi.org/10.1016/j.simpa
You can install and start the activity-browser like this:

```bash
conda create -n ab -c conda-forge activity-browser
conda create -n ab -c conda-forge --solver libmamba activity-browser
conda activate ab
activity-browser
```
Expand Down Expand Up @@ -77,6 +77,10 @@ The activity-browser has many dependencies that are managed by the [conda-forge]
```bash
conda config --prepend channels conda-forge
```
Also configure conda to use the libmamba solver which is significantly faster than the default.
```bash
conda config --set solver libmamba
```

### Installing Activity Browser

Expand Down Expand Up @@ -165,7 +169,7 @@ Plugins are conda packages (like the Activity Browser). To add a plugin simply i

_Nb: add `-c conda-forge` to the install command like below to avoid problems with dependencies._

Ex:
Ex:

```
conda activate ab
Expand All @@ -178,7 +182,7 @@ Once a new plugin is installed restart the Activity Browser.

### enabling a plugin

Plugins are enabled **per-project**. Simply open the plugin manager in the `Tools > Plugins` menu.
Plugins are enabled **per-project**. Simply open the plugin manager in the `Tools > Plugins` menu.

Close the plugin manager. New tabs should have appeared in the AB (each plugin can spawn one tab on each left/right panel).

Expand Down

0 comments on commit 70259e1

Please sign in to comment.