Skip to content

Commit

Permalink
MRG: Recommend mamba instead of libmamba for installation (#10597)
Browse files Browse the repository at this point in the history
* Recommend mamba instead of libmamba for installation [skip actions][skip azp]

Followup for #10580

cc @marsipu

* Fix RST [skip azp][skip actions]
  • Loading branch information
hoechenberger committed May 5, 2022
1 parent cc86f16 commit fae9ada
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
5 changes: 2 additions & 3 deletions doc/install/manual_install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ We suggest to install MNE-Python into its own ``conda`` environment.

The dependency stack is large and may take a long time (several tens of
minutes) to resolve on some systems via the default ``conda`` solver. We
therefore highly recommend using the
`libmamba solver <https://www.anaconda.com/blog/a-faster-conda-for-a-growing-community>`__,
which is **much** faster, albeit still an experimental feature.
therefore highly recommend using `mamba <https://mamba.readthedocs.io/>`__
instead, a ``conda`` replacement that is **much** faster.

Run in your terminal …

Expand Down
11 changes: 5 additions & 6 deletions doc/install/manual_install_platform_selector.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ <h5 class="m-0 font-weight-bold">
data-parent="#platformSelectorAccordion">
<div class="card-body">
<div class="highlight highlight-console notranslate">
<pre><span class="gp">$ </span>conda install --name<span class="o">=</span>base conda-libmamba-solver
<span class="gp">$ </span>conda create --experimental-solver<span class="o">=</span>libmamba --strict-channel-priority --channel<span class="o">=</span>conda-forge --name<span class="o">=</span>mne mne</pre>
<pre><span class="gp">$ </span>conda install --channel<span class="o">=</span>conda-forge --name<span class="o">=</span>base mamba
<span class="gp">$ </span>mamba create --strict-channel-priority --channel<span class="o">=</span>conda-forge --name<span class="o">=</span>mne mne</pre>
</div>
</div>
</div>
Expand All @@ -41,12 +41,11 @@ <h5 class="m-0 font-weight-bold">
<p>
The procedure consists of two main steps: First we create the environment from Intel-based packages.
Then, we configure the environment to always use Intel packages even for future installations,
should
you decide to install any additional packages into the same <code>conda</code> environment.
should you decide to install any additional packages into the same <code>conda</code> environment.
</p>
<div class="highlight highlight-console notranslate">
<pre><span class="gp">$ </span>conda install --name<span class="o">=</span>base conda-libmamba-solver
<span class="gp">$ </span>CONDA_SUBDIR<span class="o">=</span>osx-64 conda create --experimental-solver<span class="o">=</span>libmamba --strict-channel-priority --channel<span class="o">=</span>conda-forge --name<span class="o">=</span>mne mne
<pre><span class="gp">$ </span>conda install --channel<span class="o">=</span>conda-forge --name<span class="o">=</span>base mamba
<span class="gp">$ </span>CONDA_SUBDIR<span class="o">=</span>osx-64 mamba create --strict-channel-priority --channel<span class="o">=</span>conda-forge --name<span class="o">=</span>mne mne
<span class="gp">$ </span>conda activate mne
<span class="gp">$ </span>conda config --env --set subdir osx-64</pre>
</div>
Expand Down

0 comments on commit fae9ada

Please sign in to comment.