mamba-org / mamba

The Fast Cross-Platform Package Manager
https://mamba.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.87k stars 353 forks source link

ModuleNotFoundError: No module named 'conda._vendor.auxlib' #1712

Closed Giuseppe1995 closed 1 year ago

Giuseppe1995 commented 2 years ago

Hi, I downloaded mamba via conda in my base environment via the command conda install mamba -c conda-forge

But whichever command i try to run with mamba, let's say simply mamba create --help I get the following error:

Traceback (most recent call last): File "/srv/ngsdata/dalteriog/Tools/miniconda3/bin/mamba", line 7, in from mamba.mamba import main File "/srv/ngsdata/dalteriog/Tools/miniconda3/lib/python3.8/site-packages/mamba/mamba.py", line 53, in from mamba.utils import get_index, to_package_record_from_subjson, _supplement_index_with_system File "/srv/ngsdata/dalteriog/Tools/miniconda3/lib/python3.8/site-packages/mamba/utils.py", line 7, in from .FastSubdirData import FastSubdirData File "/srv/ngsdata/dalteriog/Tools/miniconda3/lib/python3.8/site-packages/mamba/FastSubdirData.py", line 23, in from conda._vendor.auxlib.ish import dals ModuleNotFoundError: No module named 'conda._vendor.auxlib'

My python version is 3.8.5. Can you tell me what is going wrong? Thank you in advance, Giuseppe

wolfv commented 2 years ago

Hi Giuseppe, you ended up with an old version of mamba.

Can you try to upgrade to the latest?

Giuseppe1995 commented 2 years ago

I upgraded it using conda, but the problem still remains

wolfv commented 2 years ago

The latest version is mamba 0.23.3. Can you show me the output of conda list?

Giuseppe1995 commented 2 years ago

IT appears that, despite the fact I installed it via conda and updated it via conda, the version is not the most updated: conda list | grep "mamba"

mamba 0.1.2 py38hbf85e49_0 conda-forge

This is quite odd, I fear that there are some conflicts. If I install it in another environment (unluckily I need it in base environment) the version is the updated one and I got no more errors. Is it possible to update it kinda manually or solve any conflict?

Haaroon commented 2 years ago

what about the case where you do not have mamba installed?