Skip to content

Commit

Permalink
rm --solver=libmamba
Browse files Browse the repository at this point in the history
  • Loading branch information
Ray Bell committed Apr 14, 2024
1 parent d38a76d commit d8232b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
11 changes: 6 additions & 5 deletions _includes/selector.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,8 @@
<div class="cmd">
<div class="cmd-label">Command</div>
<div class="cmd-box">
<pre class="highlight"><code><span x-ref="cmd" x-html="getCmdHtml" x-on:mouseup.once="copyToGA"></span></code></pre>
<pre
class="highlight"><code><span x-ref="cmd" x-html="getCmdHtml" x-on:mouseup.once="copyToGA"></span></code></pre>
</div>
</div>
</div>
Expand Down Expand Up @@ -474,7 +475,7 @@
var pkgs_vers = pkgs.filter(pkg => pkg !== "Choose Specific Packages").map(pkg => this.highlightPkgOrImg(pkg) + "=" + rapids_version + " ").join("").toLowerCase();
var all_pkgs = pkgs_vers + py_cuda_pkgs;

var conda_create_ln = this.highlightCmd('conda') + " create --" + this.highlightFlag("solver") + "=libmamba " + this.highlightFlag("-n") + " rapids-" + rapids_version + " " + conda_channels;
var conda_create_ln = this.highlightCmd('conda') + " create " + this.highlightFlag("-n") + " rapids-" + rapids_version + " " + conda_channels;
var pkgs_ln = indentation + all_pkgs;
var add_pkgs_ln = "";

Expand Down Expand Up @@ -796,12 +797,12 @@
window.getSelection().removeAllRanges();

/** checks number of installs from copy command vs downloads **/
gtag('event', 'copyClick', {
gtag('event', 'copyClick', {
'button': 'CopyCommand',
'install_copy_cmd': text
});
},
copyToGA(){
copyToGA() {
let range = document.createRange();
range.selectNode(this.$refs.cmd);
window.getSelection().removeAllRanges();
Expand All @@ -819,4 +820,4 @@
}
}))
})
</script>
</script>
13 changes: 4 additions & 9 deletions install/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,11 @@ Use the selector tool below to select your preferred method, packages, and envir

### **Conda Issues**
<i class="fas fa-info-circle"></i> A `conda create error` occurs:<br/>
RAPIDS has switched the default solver recommendation to [libmamba](https://www.anaconda.com/blog/a-faster-conda-for-a-growing-community/){: target="_blank"}, a Mamba-powered Conda solver that is [now included with all Conda/Miniconda installations](https://www.anaconda.com/blog/new-release-anaconda-distribution-2023-07-miniconda-23-5-0-and-more){: target="_blank"} to significantly accelerate environment solving. The error output shows:
```
conda create: error: argument --solver: invalid choice: 'libmamba' (choose from 'classic')
```

To resolve this error please follow one of these steps:
- If the Conda installation is version `22.11` or newer, run: `conda install -n base conda-libmamba-solver`
- If the Conda installation is older than `22.11`, please update your [Conda or Miniconda to the latest version](https://conda.io/projects/conda/en/stable/user-guide/install/index.html){: target="_blank"}
- Use [Mamba directly](https://mamba.readthedocs.io/en/latest/installation.html){: target="_blank"}
- Use the classic solver by removing `--solver=libmamba` from the `conda create` command provided by the selector
- If the Conda installation is older than `22.11`, please update your [Conda or Miniconda to the latest version](https://conda.io/projects/conda/en/stable/user-guide/install/index.html){: target="_blank"}. This will include [libmamba](https://www.anaconda.com/blog/a-faster-conda-for-a-growing-community/){: target="_blank"}, a Mamba-powered Conda solver that is [now included with all Conda/Miniconda installations](https://www.anaconda.com/blog/new-release-anaconda-distribution-2023-07-miniconda-23-5-0-and-more){: target="_blank"} to significantly accelerate environment solving.
- If the Conda installation is version `22.11` or newer, run: `conda install -n base conda-libmamba-solver` and run
`conda create --solver=libmamba ...`
- Use [Mamba directly](https://mamba.readthedocs.io/en/latest/installation.html){: target="_blank"} as `mamba create ...`

### **Docker Issues**
<i class="fas fa-exclamation-triangle"></i> RAPIDS `23.08` brought significant Docker changes. <br/>
Expand Down

0 comments on commit d8232b3

Please sign in to comment.