Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MRG: Update installation instructions to ensure users end up with latest version of the conda-forge package #10580

Merged

Conversation

hoechenberger
Copy link
Member

@hoechenberger hoechenberger commented May 1, 2022

Also re-ordered the instructions, as I've seen several users end up with only 2D support & minimal installs as these instructions were at the very top. I moved those minimal installs down, as this is a special case that only select users will want.

Also we're now suggesting users use mamba libmamba for the "full" install (we keep recommending conda for the minimal installs).

Fixes #10577

cc @marsipu @larsoner @agramfort

…ersion of the conda-forge package

Also re-ordered the instructions, as I've seen several users end up with only 2D
 support & minimal installs as these instructions were at the very top. I moved
 those minimal installs down, as this is a special case that only select users will want.

 Also we're now suggesting users use mamba for the "full" install
 (we keep recommending conda for the minimal installs).

Fixes mne-tools#10577

cc @marsipu @larsoner @agramfort
@hoechenberger hoechenberger marked this pull request as ready for review May 1, 2022 12:50
@hoechenberger hoechenberger added the backport-candidate on-merge: backport to maint/1.7 label May 1, 2022
@hoechenberger hoechenberger changed the title Update installation instructions to ensure users end up with latest version of the conda-forge package MRG: Update installation instructions to ensure users end up with latest version of the conda-forge package May 1, 2022
minutes) to resolve on some systems via ``conda``. We therefore highly
recommend using ``mamba``, a ``conda`` replacement with a much faster solver.

Run in your terminal:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Run in your terminal:
Make sure to be in your conda-environment ``base``.
Run in your terminal:

The mamba installation instructions emphasize that mamba is installed into the base environment.

Copy link
Member Author

@hoechenberger hoechenberger May 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually it doesn't matter in which environment you are. The only important thing is that you install mamba 😅 In fact, I usually do not install mamba into my base env

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marsipu I've just pushed a change that doesn't require the installation of mamba, but instead installs the experimental libmamba solver into the base environment. WDYT?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, installing libmamba in my environment resulted into a lengthy process of checking for incompatible packages.
Installing mamba was much quicker without this check. I don't know if that's only with my environment. What is the advantage of libmamba over 'mamba'?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the advantage of libmamba over 'mamba'?

Installing the libmamba solver avoids the need to install (and use) a tool that's new to users (i.e., mamba)

The solver is currently being tested and is likely to become the new default in future versions of conda

It'd odd it's not resolving the deps for you, as there are not many dependencies libmamba requires :\

For more info on this solver, see https://www.anaconda.com/blog/a-faster-conda-for-a-growing-community

@hoechenberger

This comment was marked as outdated.

@hoechenberger
Copy link
Member Author

Copy link
Member

@agramfort agramfort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

although I feel bad now to put everything in my base env 😜

@hoechenberger
Copy link
Member Author

Lgtm

although I feel bad now to put everything in my base env 😜

It's just libmamba, which will soon become part of conda anyway, I think :)

@hoechenberger hoechenberger merged commit 820e3cc into mne-tools:main May 2, 2022
@hoechenberger
Copy link
Member Author

i.e., MNE itself is still installed into its own environment!

@hoechenberger hoechenberger deleted the hoechenberger/issue10577 branch May 2, 2022 07:59
hoechenberger added a commit to hoechenberger/mne-python that referenced this pull request May 2, 2022
hoechenberger added a commit that referenced this pull request May 2, 2022
@hoechenberger hoechenberger added backported and removed backport-candidate on-merge: backport to maint/1.7 labels May 2, 2022
@marsipu
Copy link
Member

marsipu commented May 2, 2022

@hoechenberger
On my (Windows)-setup, installing conda-libmamba-solver as described results in the following which runs now already for 6 hours. I am not sure it ever finishes since it is now repeating to check conflicts for the same packages. This has probably to do with the packages I have installed in my base environment, but this might happen to other users too. Installing mamba didn't have this problem.

Terminal Output Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: \ Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. Examining bokeh: 2%|█▎ | 8/379 [00:10<11:13, 1.81s/it]|Examining mpc: 3%|█▉ | 11/379 [00:22<15:09, 2.47s/it]/Examining conda-libmamba-solver: 5%|██▎ | 18/379 [00:24<03:33, 1.69it/s]-Examining three-merge: 5%|██▉ | 19/379 [00:25<03:32, 1.69it/s]|Examining mkl_random: 6%|███▋ | 24/379 [00:25<03:13, 1.83it/s]/Examining xlrd: 7%|████▎ | 25/379 [00:26<01:31, 3.88it/s]|Examining bkcharts: 9%|█████▎ | 33/379 [00:26<01:00, 5.76it/s]-Examining packaging: 11%|██████▊ | 43/379 [00:32<03:50, 1.46it/s]|Examining fastcache: 13%|███████▉ | 50/379 [00:35<03:12, 1.71it/s]\Examining pysocks: 29%|█████████████████▌ | 109/379 [01:13<01:34, 2.86it/s]|Examining xlsxwriter: 31%|██████████████████▏ | 119/379 [01:13<00:38, 6.81it/s]-Examining importlib-metadata: 32%|███████████████▉ | 121/379 [01:14<00:40, 6.45it/s]|Examining sip: 32%|████████████████████▉ | 122/379 [01:14<00:39, 6.45it/s]/Examining imagesize: 34%|███████████████████▉ | 128/379 [01:15<00:29, 8.55it/s]-Examining flask: 34%|█████████████████████▌ | 130/379 [01:15<00:31, 7.84it/s]|Examining appdirs: 35%|█████████████████████ | 131/379 [01:15<00:32, 7.57it/s]/Examining pkginfo: 39%|███████████████████████▍ | 146/379 [01:35<07:27, 1.92s/it]|Examining path: 42%|███████████████████████████▏ | 161/379 [01:41<01:31, 2.39it/s]/Examining pyparsing: 43%|█████████████████████████▏ | 162/379 [01:41<01:30, 2.39it/s]-Examining debugpy: 43%|██████████████████████████▏ | 163/379 [01:41<01:14, 2.91it/s]\Examining m2w64-gcc-libs: 46%|█████████████████████████ | 176/379 [01:48<03:09, 1.07it/s]|Examining jinja2: 47%|█████████████████████████████▎ | 179/379 [01:49<02:27, 1.36it/s]/Examining jdcal: 50%|███████████████████████████████▎ | 188/379 [01:51<01:03, 3.00it/s]/Examining backports: 51%|██████████████████████████████ | 193/379 [01:52<00:35, 5.21it/s]\Examining beautifulsoup4: 55%|█████████████████████████████▊ | 209/379 [01:58<00:27, 6.28it/s]|Examining diff-match-patch: 56%|█████████████████████████████▏ | 213/379 [01:58<00:26, 6.26it/s]|Examining keyring: 57%|██████████████████████████████████▊ | 216/379 [01:59<00:21, 7.70it/s]\Examining dask: 62%|███████████████████████████████████████▋ | 235/379 [02:06<00:34, 4.22it/s]/Examining websocket-client: 66%|██████████████████████████████████▏ | 249/379 [02:58<10:23, 4.80s/it]/ Examining pytables: 68%|████████████████████████████████████████▊ | 258/379 [03:04<03:04, 1.53s/it]- Examining terminado: 70%|█████████████████████████████████████████▍ | 266/379 [03:07<01:08, 1.66it/s]/Examining numpydoc: 70%|██████████████████████████████████████████▎ | 267/379 [03:07<00:46, 2.41it/s]\ Examining werkzeug: 72%|██████████████████████████████████████████▉ | 271/379 [03:09<00:44, 2.42it/s]\Examining mccabe: 73%|█████████████████████████████████████████████▎ | 277/379 [03:18<02:46, 1.64s/it]-Examining scikit-learn: 75%|█████████████████████████████████████████▊ | 283/379 [03:20<01:47, 1.12s/it]\ Examining yapf: 79%|██████████████████████████████████████████████████▎ | 298/379 [03:25<00:27, 2.96it/s]\Examining jupyter: 79%|████████████████████████████████████████████████▍ | 301/379 [03:25<00:12, 6.25it/s]| Examining dataclasses: 84%|███████████████████████████████████████████████▉ | 319/379 [03:31<00:15, 3.90it/s]|Examining ipykernel: 86%|██████████████████████████████████████████████████▋ | 326/379 [03:32<00:13, 3.89it/s]| Examining tk: 87%|█████████████████████████████████████████████████████████▋ | 331/379 [03:35<00:14, 3.26it/s]/Examining typing_extensions: 90%|██████████████████████████████████████████████ | 342/379 [03:37<00:16, 2.25it/s]|Examining mkl-service: 92%|████████████████████████████████████████████████████▎ | 348/379 [03:42<00:18, 1.71it/s]/ Examining imagecodecs-lite: 92%|████████████████████████████████████████████████ | 350/379 [03:43<00:14, 2.06it/s]\Examining sqlalchemy: 93%|█████████████████████████████████████████████████████▊ | 352/379 [03:43<00:13, 2.06it/s]|Examining mkl: 98%|███████████████████████████████████████████████████████████████▉ | 373/379 [04:15<00:06, 1.10s/it]|Examining menuinst: 99%|███████████████████████████████████████████████████████████▌| 376/379 [04:15<00:02, 1.29it/s]- Examining conflict for anaconda-client jupyterlab_server cryptography anaconda-navigator pip conda bokeh conda-build nl-Examining conflict for nb_conda_kernels jupyter ipywidgets jupyterlab_server widgetsnbextension _ipyw_jlab_nb_ext_conf / Examining conflict for beautifulsoup4 greenlet sphinxcontrib-devhelp cycler jupyterlab_server zope pathlib2 conda-packa\ Examining conflict for werkzeug jupyterlab_server flask dataclasses _anaconda_depends jupyterlab nltk anaconda nbclassi/ Examining conflict for anaconda-client jupyterlab_server _anaconda_depends anaconda-navigator conda-build pip sphinx nl/ Examining conflict for anaconda-client ipywidgets jupyterlab_server nbconvert _anaconda_depends nbclient jupyterlab nbf\Examining conflict for anaconda-client ipywidgets jupyterlab_server nbconvert _anaconda_depends nbclient jupyterlab n/

@hoechenberger
Copy link
Member Author

hoechenberger commented May 2, 2022

@marsipu Could you please let me know from which channel it's trying to install? main/default? Or conda-forge? Could you share your conda info again please? Could you share the exact command you're using, too? Thanks!

@hoechenberger
Copy link
Member Author

@marsipu btw I didn't see your comment above where you brought up this issue earlier (before merging), sorry about that!

@marsipu
Copy link
Member

marsipu commented May 3, 2022

conda info active environment : base active env location : C:\Users\marti\anaconda3 shell level : 1 user config file : C:\Users\marti\.condarc populated config files : C:\Users\marti\.condarc conda version : 4.12.0 conda-build version : 3.21.4 python version : 3.8.5.final.0 virtual packages : __cuda=11.6=0 __win=0=0 __archspec=1=x86_64 base environment : C:\Users\marti\anaconda3 (writable) conda av data dir : C:\Users\marti\anaconda3\etc\conda conda av metadata url : None channel URLs : https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch package cache : C:\Users\marti\anaconda3\pkgs C:\Users\marti\.conda\pkgs C:\Users\marti\AppData\Local\conda\conda\pkgs envs directories : C:\Users\marti\anaconda3\envs C:\Users\marti\.conda\envs C:\Users\marti\AppData\Local\conda\conda\envs platform : win-64 user-agent : conda/4.12.0 requests/2.27.1 CPython/3.8.5 Windows/10 Windows/10.0.19041 administrator : False netrc file : None offline mode : False

@marsipu
Copy link
Member

marsipu commented May 3, 2022

@hoechenberger I don't know how to see from which channel conda tries to install. I suppose main, because:

$ conda config --show default_channels
default_channels:
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - https://repo.anaconda.com/pkgs/msys2

@hoechenberger
Copy link
Member Author

hoechenberger commented May 3, 2022

I don't know how to see from which channel conda tries to install. I

Can you please share with me the output of

conda install --dry-run --name=base conda-libmamba-solver

@marsipu
Copy link
Member

marsipu commented May 3, 2022

This runs now for about an hour and doesn't seem to finish soon as the last times.

Terminal Output $ conda install --dry-run --name=base conda-libmamba-solver Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: / Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abor- Examining nbclassic: 2%|█▎ | 8/379 [00:00<00:05, 65.58it/s]-Examining libiconv: 4%|██▋ | 17/379 [00:11<04:39, 1.29it/s]|Examining navigator-updater: 5%|██▋ | 20/379 [00:11<03:54, 1.53it/s]/Examining libssh2: 7%|████ | 25/379 [00:11<02:30, 2.35it/s]\Examining xmltodict: 9%|█████▋ | 36/379 [00:13<01:18, 4.37it/s]-Examining dask: 12%|███████▋ | 45/379 [00:19<02:54, 1.92it/s]\Examining freetype: 13%|████████ | 50/379 [00:39<09:47, 1.79s/it]|Examining pyflakes: 15%|█████████▏ | 57/379 [00:40<03:40, 1.46it/s]\Examining prompt_toolkit: 15%|████████▎ | 57/379 [00:40<03:40, 1.46it/s]|Examining black: 21%|█████████████▏ | 78/379 [00:51<01:47, 2.80it/s]\Examining cython: 21%|█████████████▍ | 81/379 [00:55<02:41, 1.84it/s]\Examining py: 22%|██████████████▊ | 84/379 [00:57<03:43, 1.32it/s]/Examining alabaster: 22%|█████████████▍ | 85/379 [00:57<03:03, 1.61it/s]-Examining anaconda-project: 25%|█████████████ | 93/379 [01:00<01:47, 2.66it/s]\Examining pydocstyle: 34%|███████████████████▌ | 128/379 [01:24<02:25, 1.73it/s]\Examining cytoolz: 34%|████████████████████▉ | 130/379 [01:24<01:57, 2.11it/s]/Examining jupyter_client: 35%|██████████████████▊ | 132/379 [01:24<01:31, 2.70it/s]-Examining mock: 35%|██████████████████████▎ | 132/379 [01:25<01:31, 2.70it/s]\Examining importlib-metadata: 35%|█████████████████▋ | 134/379 [01:25<01:33, 2.62it/s]-Examining path: 37%|███████████████████████▍ | 139/379 [01:29<02:58, 1.34it/s]|Examining anaconda-client: 38%|███████████████████▉ | 143/379 [01:35<01:23, 2.82it/s]-Examining pyerfa: 40%|████████████████████████▋ | 151/379 [01:38<01:49, 2.09it/s]-Examining zipp: 41%|██████████████████████████▌ | 157/379 [01:38<01:32, 2.40it/s]|Examining soupsieve: 42%|████████████████████████▌ | 158/379 [01:38<00:35, 6.23it/s]/Examining tbb: 42%|███████████████████████████▍ | 160/379 [01:38<00:33, 6.53it/s]-Examining brotli: 43%|██████████████████████████▌ | 162/379 [01:40<00:30, 7.02it/s]-Examining pywin32-ctypes: 43%|███████████████████████▎ | 164/379 [01:41<00:52, 4.10it/s]-Examining heapdict: 44%|██████████████████████████▍ | 167/379 [01:41<01:14, 2.85it/s]\Examining reproc: 47%|████████████████████████████▉ | 177/379 [01:45<01:06, 3.03it/s]\Examining conda-pack: 49%|████████████████████████████▎ | 185/379 [01:46<00:47, 4.07it/s]\Examining atomicwrites: 54%|█████████████████████████████▉ | 203/379 [01:53<00:34, 5.13it/s]- Examining jupyter: 55%|█████████████████████████████████▎ | 207/379 [01:54<00:30, 5.63it/s]\ Examining notebook: 55%|████████████████████████████████▉ | 208/379 [01:56<00:30, 5.63it/s]|Examining pygments: 55%|█████████████████████████████████▏ | 210/379 [02:03<03:32, 1.25s/it]- Examining typing-extensions: 56%|████████████████████████████▋ | 213/379 [02:05<02:40, 1.03it/s]/ Examining xlwings: 58%|███████████████████████████████████ | 218/379 [02:06<01:31, 1.76it/s]|Examining python-language-server: 58%|██████████████████████████▋ | 220/379 [02:07<01:22, 1.92it/s]- Examining three-merge: 58%|█████████████████████████████████▏ | 221/379 [02:08<01:56, 1.35it/s]| Examining pynacl: 61%|█████████████████████████████████████▋ | 230/379 [02:10<00:45, 3.29it/s]| Examining python=3.8: 65%|█████████████████████████████████████▋ | 246/379 [02:15<00:34, 3.87it/s]- Examining pysocks: 65%|███████████████████████████████████████▊ | 247/379 [02:15<00:34, 3.77it/s]| Examining m2w64-gcc-libgfortran: 68%|███████████████████████████████▊ | 257/379 [02:23<01:31, 1.34it/s]/Examining toolz: 69%|███████████████████████████████████████████▏ | 260/379 [02:23<00:56, 2.10it/s]| Examining pybind11-abi: 69%|██████████████████████████████████████▌ | 261/379 [02:25<00:56, 2.10it/s]|Examining scipy: 70%|████████████████████████████████████████████ | 265/379 [02:25<00:45, 2.51it/s]/ Examining mpfr: 71%|█████████████████████████████████████████████▎ | 268/379 [02:27<00:58, 1.91it/s]/Examining icc_rt: 73%|█████████████████████████████████████████████▏ | 276/379 [02:28<00:35, 2.91it/s]/Examining cffi: 75%|████████████████████████████████████████████████▏ | 285/379 [02:36<01:07, 1.40it/s]|Examining lcms2: 77%|████████████████████████████████████████████████▋ | 293/379 [02:41<00:59, 1.44it/s]-Examining watchdog: 81%|████████████████████████████████████████████████▊ | 308/379 [03:03<01:10, 1.01it/s]/ Examining babel: 84%|████████████████████████████████████████████████████▋ | 317/379 [03:06<00:33, 1.87it/s]-Examining _anaconda_depends: 85%|███████████████████████████████████████████▏ | 321/379 [03:06<00:16, 3.49it/s]\ Examining webencodings: 86%|████████████████████████████████████████████████▏ | 326/379 [03:28<01:48, 2.04s/it]|Examining numpy: 87%|██████████████████████████████████████████████████████▊ | 330/379 [03:29<00:56, 1.15s/it]/ Examining jdcal: 88%|███████████████████████████████████████████████████████▏ | 332/379 [03:31<00:53, 1.14s/it]\ Examining widgetsnbextension: 90%|████████████████████████████████████████████▉ | 341/379 [03:32<00:18, 2.04it/s]/ Examining zope.interface: 91%|████████████████████████████████████████████████▊ | 343/379 [03:34<00:17, 2.05it/s]/ Examining fsspec: 92%|████████████████████████████████████████████████████████▊ | 347/379 [03:34<00:13, 2.34it/s]| Examining six: 97%|██████████████████████████████████████████████████████████████▊ | 366/379 [03:37<00:04, 3.17it/s]-Examining llvmlite: 99%|███████████████████████████████████████████████████████████▏| 374/379 [03:38<00:00, 6.04it/s]-Examining ipython: 99%|████████████████████████████████████████████████████████████▎| 375/379 [03:38<00:00, 7.74it/s]\ Examining fonttools: 99%|██████████████████████████████████████████████████████████▋| 377/379 [03:40<00:00, 3.23it/s]- Examining conflict for libdeflate zlib rtree platformdirs libxslt pure_eval pathlib2 nbclassic urllib3 colorama backpor\ Examining conflict for libdeflate zlib rtree platformdirs libxslt pure_eval pathlib2 nbclassic urllib3 colorama backp\

@marsipu
Copy link
Member

marsipu commented May 3, 2022

Hmm, even conda update conda finds conflicts now, it seems my base-environment is a bit broken.

@hoechenberger
Copy link
Member Author

It's always a bit difficult to read the outputs you're posting here; I appreciate you collapse them but it seems to remove all line breaks, so it's difficult for me to read :(

@hoechenberger
Copy link
Member Author

Hmm, even conda update conda finds conflicts now, it seems my base-environment is a bit broken.

Seems so! Care to try it again with a fresh (non-broken) install?

@hoechenberger
Copy link
Member Author

Also, posting the output of conda list -n base could give us some additional clues.

@marsipu
Copy link
Member

marsipu commented May 3, 2022

Hmm, even conda update conda finds conflicts now, it seems my base-environment is a bit broken.

Seems so! Care to try it again with a fresh (non-broken) install?

Yes, I am just reinstalling Anaconda

@marsipu
Copy link
Member

marsipu commented May 3, 2022

It's always a bit difficult to read the outputs you're posting here; I appreciate you collapse them but it seems to remove all line breaks, so it's difficult for me to read :(

Oh, ok you're right. I think the html-code for collapsing means that inside also no Markdown is working anymore and line breaks have to changed to <br>. I will consider this next time

@marsipu
Copy link
Member

marsipu commented May 4, 2022

Unfortunately even on a fresh anaconda-install (and even on fresh Windows 11 as I had to do a clean Windows-Installation after cmd.exe somehow wasn't working anymore), the installation seems to fail

conda install --name=base conda-libmamba-solver
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.

conda info

     active environment : base
    active env location : C:\Users\marti\anaconda3
            shell level : 1
       user config file : C:\Users\marti\.condarc
 populated config files :
          conda version : 4.12.0
    conda-build version : 3.21.6
         python version : 3.9.7.final.0
       virtual packages : __cuda=11.6=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : C:\Users\marti\anaconda3  (writable)
      conda av data dir : C:\Users\marti\anaconda3\etc\conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\marti\anaconda3\pkgs
                          C:\Users\marti\.conda\pkgs
                          C:\Users\marti\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\marti\anaconda3\envs
                          C:\Users\marti\.conda\envs
                          C:\Users\marti\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.12.0 requests/2.26.0 CPython/3.9.7 Windows/10 Windows/10.0.22000
          administrator : False
             netrc file : None
           offline mode : False

@hoechenberger
Copy link
Member Author

hoechenberger commented May 4, 2022

What confuses me is that you have so many non-standard channels there. Msys2, for example, has to my knowledge long been deprecated. Could it be that you still have some old configuration file somewhere that gets in our way? Specifically, C:\Users\marti\.condarc
Could you rename this file and try again?

@marsipu
Copy link
Member

marsipu commented May 4, 2022

Could msys2 maybe come from git for Windows?

@marsipu
Copy link
Member

marsipu commented May 4, 2022

Hm, that's weird, there is no .condarc in my user folder as conda info suggests. As this is a fresh Windows InstallationI also don't suppose there are old-configuration files left (at least I don't see any).

@marsipu
Copy link
Member

marsipu commented May 4, 2022

Am I the only one with this problem on Windows? If that's so we don't have to bother that much, I think I can also work without the libmamba-solver.

@hoechenberger
Copy link
Member Author

Could msys2 maybe come from git for Windows?

I only know it from specially optimized R packages

@hoechenberger
Copy link
Member Author

@marsipu One last try, could you see if this works for you:

conda install --strict-channel-priority --channel=main --name=base conda-libmamba-solver

Thanks!

@hoechenberger
Copy link
Member Author

I'm starting to lean towards simply recommending to use mamba if libmamba is so problematic :(

@hoechenberger
Copy link
Member Author

@marsipu I've made a new PR to suggest using mamba instead: #10597

@marsipu
Copy link
Member

marsipu commented May 4, 2022

@marsipu One last try, could you see if this works for you:

conda install --strict-channel-priority --channel=main --name=base conda-libmamba-solver

Thanks!

Same problem as before

@marsipu
Copy link
Member

marsipu commented May 4, 2022

@marsipu I've made a new PR to suggest using mamba instead: #10597

Thank you!

@hoechenberger
Copy link
Member Author

Thanks for helping out here, I appreciate your effort! I know this is boring and frustrating stuff...

hoechenberger added a commit that referenced this pull request May 5, 2022
* Recommend mamba instead of libmamba for installation [skip actions][skip azp]

Followup for #10580

cc @marsipu

* Fix RST [skip azp][skip actions]
hoechenberger added a commit to hoechenberger/mne-python that referenced this pull request May 5, 2022
…10597)

* Recommend mamba instead of libmamba for installation [skip actions][skip azp]

Followup for mne-tools#10580

cc @marsipu

* Fix RST [skip azp][skip actions]
hoechenberger added a commit to hoechenberger/mne-python that referenced this pull request May 5, 2022
…10597) [skip azp][skip actions]

* Recommend mamba instead of libmamba for installation [skip actions][skip azp]

Followup for mne-tools#10580

cc @marsipu

* Fix RST [skip azp][skip actions]
hoechenberger added a commit that referenced this pull request May 5, 2022
…kip azp][skip actions] (#10600)

* Recommend mamba instead of libmamba for installation [skip actions][skip azp]

Followup for #10580

cc @marsipu

* Fix RST [skip azp][skip actions]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Old mne version with installation from conda-forge on linux-64
3 participants