Closed otavio-silva closed 7 months ago
I have exactly the same problem on macOS Ventura 13.6
Looks like ensure_name_or_prefix
was deprecated in the latest conda release 23.9.0
https://github.com/conda/conda/issues/12385
Fixed in mamba. Pending release.
Any idea of when will it be released and how to get it installed once it's released? It seems that my system is now in a completely unstable state, since conda does not seem to be able to solve any environment, so I would say updating mamba through conda won't even be an option.
1.5.2 should be out with a fix now
1.5.2 should be out with a fix now
Where can I find it?
In the conda-forge channel, mamba 1.5.2
In the conda-forge channel, mamba 1.5.2
how do I update to mamba 1.5.2? I found mamba update -n base mamba on google but it says ImportError: cannot import name 'ensure_name_or_prefix' from 'conda.cli.common' (D:\Mambaforge\lib\site-packages\conda\cli\common.py)
Unfortunately you have to download the package manually or using conda.
Download the appropriate 1.5.2 manually from: https://anaconda.org/conda-forge/mamba/files
Search for
win-64/mamba-1.5.2-py
and ensure that the version of python that works for you follows.
conda install C:\User\YOUR_USER\Downloads\mamba-1.5.2-py......
and then mamba
should work.
I'm tempted to close this issue. It is unfortunate, but it is difficult for us to recover from these.
In case it helps anyone else, I found I couldn't get unstuck until I uninstalled boa
and conda-build
. They were preventing an update to a newer mamba
.
I got hit by this again. However, I don't think we have a real solution for this. Unfortunate, but I had to reinstall my system.
Solution to issue cannot be found in the documentation.
Issue
Trying to run any
mamba
command gives the following error in any enviroment:Installed packages
Environment info