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

No module named 'conda._vendor.auxlib' when using mamba install for docker build #1703

Closed klarich closed 1 year ago

klarich commented 2 years ago

When trying to use mamba in a docker build (python 3.7) I am getting the error below. I have tried the solutions from #1583 such as upgrading conda-build, upgrading the mamba version to >=0.23.0 and pip installing auxlib before trying to do the mamba install but none of these solutions have worked.


#17 94.28     from mamba.mamba import main
#17 94.28   File "/opt/conda/lib/python3.7/site-packages/mamba/mamba.py", line 53, in <module>
#17 94.28     from mamba.utils import get_index, to_package_record_from_subjson, _supplement_index_with_system
#17 94.28   File "/opt/conda/lib/python3.7/site-packages/mamba/utils.py", line 7, in <module>
#17 94.28     from .FastSubdirData import FastSubdirData
#17 94.28   File "/opt/conda/lib/python3.7/site-packages/mamba/FastSubdirData.py", line 23, in <module>
#17 94.28     from conda._vendor.auxlib.ish import dals
#17 94.28 ModuleNotFoundError: No module named 'conda._vendor.auxlib'
wolfv commented 2 years ago

I think this is a very old version of mamba.