mamba icon indicating copy to clipboard operation
mamba copied to clipboard

ModuleNotFoundError: No module named 'mamba.mamba'

Open j4cko opened this issue 3 years ago • 4 comments

I tried two ways of installing mamba, downloading and installing mambaforge, and conda install mamba -n base -c conda-forge is indicated in the README. Unfortunately, both lead to

Traceback (most recent call last):
  File "/home/jakob/mambaforge/bin/mamba", line 7, in <module>
    from mamba.mamba import main
ModuleNotFoundError: No module named 'mamba.mamba'

I am aware that this may have to do with my system setup as I tried the same steps on a different system successfully. However, I am unable to figure out what went wrong and where things may interfere. I am using archlinux with python3.10 installed, but as far as I can see the mambaforge or conda installations are being used.

Any help is appreciated.

j4cko avatar Jan 13 '22 08:01 j4cko

Hmm, hard to say what went wrong here.

Usually you'd use mamba from the condabin folder, not the bin folder. Not sure if that changes anything though.

Can you post a conda list?

wolfv avatar Jan 19 '22 09:01 wolfv

sorry for the delay. The mamba executable seems correct: I get

which mamba                                                                                                                                                                            ─╯
/home/jakob/mambaforge/condabin/mamba

and attach the conda list output. It seems to be an issue on archlinux, but I am unable to figure out where the system messes up with the paths set in conda. condalist.txt

j4cko avatar Jan 24 '22 09:01 j4cko

I had the same error, immediately after running the installer.

rick-osmo avatar Oct 18 '22 19:10 rick-osmo