You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Calliope comes with several built-in analysis and visualisation tools. Having so
37
37
38
38
## Quick start
39
39
40
-
Calliope can run on Windows, macOS and Linux. Installing it is quickest with the `mamba` package manager by running a single command: `mamba create -c conda-forge -n calliope calliope`.
40
+
Calliope can run on Windows, macOS and Linux. Installing it is quickest with the `mamba` package manager by running a single command: `mamba create -n calliope -c conda-forge/label/calliope_dev -c conda-forge calliope`.
41
41
42
42
See the documentation for more [information on installing](https://calliope.readthedocs.io/en/stable/user/installation.html).
1. Activate the calliope mamba environment: `mamba activate calliope`
41
41
1. Install the calliope package into the environment, in editable mode and ignoring dependencies (we have dealt with those when creating the mamba environment): `pip install --no-deps -e .`
42
42
1. Install the interactive python shell (necessary when testing our documentation locally): `ipython kernel install --user --name=calliope_docs_build`
If following the recommended installation method above, the following command, assuming the mamba environment is active, will update Calliope to the newest version
53
-
54
-
```bash
55
-
mamba update -c conda-forge calliope
56
-
```
52
+
We recommend that if you want to update an existing installation, you re-create your environment from scratch.
53
+
This will mitigate any possible unwanted updates to additional dependencies that you may have installed into your environment since you first created it.
54
+
Therefore, run the same command found in the [recommended installation instructions](#recommended-installation-method) and say yes when prompted about whether you want to overwrite the existing environment.
57
55
58
56
## Choosing a solver
59
57
@@ -66,12 +64,12 @@ This list is not exhaustive; any solvers [supported by Pyomo](https://pyomo.read
66
64
### CBC
67
65
68
66
[CBC](https://github.com/coin-or/Cbc) is our recommended option if you want a free and open-source solver.
69
-
If you do not have it in your working environment (i.e. there is nothing listed when you call `conda list cbc`) then it can be installed by running `mamba install -c conda-forgecoin-or-cbc`.
67
+
If you do not have it in your working environment (i.e. there is nothing listed when you call `conda list cbc`) then it can be installed by running `mamba install conda-forge::coin-or-cbc`.
70
68
71
69
### GLPK
72
70
73
71
[GLPK](https://anaconda.org/conda-forge/glpk) is free and open-source, but can take too much time and/or too much memory on larger problems.
74
-
`GLPK` can be installed from `conda-forge` on all platforms: `mamba install -c conda-forgeglpk`.
72
+
`GLPK` can be installed from `conda-forge` on all platforms: `mamba install conda-forge::glpk`.
75
73
Unlike [CBC](#cbc), it is possible to extract [shadow prices](./advanced/shadow_prices.md) from a model solved with GLPK, which is why you may with to use it instead of CBC.
0 commit comments