Closed breengles closed 1 year ago
Looks like an incompatibility with the new conda 23.7.x
series and the current mamba
. You might need to report this to mamba-org/mamba
.
The installation itself worked before the update, right?
Hi @jaimergp! Yep, the installation worked just fine. I think the issue appeared today (or quite recently as I think). I will open an issue there and mention this one
Can confirm, have had fully working installation but updated everything today and since then I'm getting the exact same error.
Interesting, so I used mamba to downgrade conda to 23.5.2 and now it works again. Can you please let us know when it's working again? thanks!
BTW: since downgrading conda, now in any env other than base, I get this after any command:
Could not load conda plugin `conda-build`:
argument of type 'NoneType' is not iterable
but my base env does have conda-build version-23.5.2, same as conda. Weird
The PR in mamba-org/mamba
has been merged, so it's a matter of waiting for a new release on their end.
Thanks for reporting and figuring out a workaround. To make it more findable, I've made a Stackoverflow Q&A: https://stackoverflow.com/questions/76847652/mamba-env-throws-attributeerror-namespace-object-has-no-attribute-func/76847653#76847653
I didn't want to wait, so I applied Jaime's bug fix to my local copy of mamba.py... Took me about 2 minutes. 😅
The relevant issue on Mamba's end is https://github.com/mamba-org/mamba/issues/2715. Finding that issue is harder on Google compared to this issue as of this moment (which is now the first search result), so I'm including it here for convenience's sake. (...Which I suppose was also linked in the StackOverFlow post)
Just ran in to this. Worth noting that while the issue on mamba-org is closed, the fix has not yet been released. The current latest version 1.4.9, released over a month ago, is impacted!
EDIT: Wanted to stress that with "released over a month ago", I only mean "the latest version is impacted because it occurred before this fix, not because the problem has regressed". I realized it kind of comes off as "jeez, release already!" :) :heart:
Thanks to Cornelius, we just got a new release of mamba
3 hours ago. The fix is out in mamba
version 1.5.0!
(Feel free to close this issue).
Noice! I'll close. Feel free to comment / reopen if you experience any issues with the fix!
Solution to issue cannot be found in the documentation.
Issue
After fresh installation of mambaforge for Linux x86_64 and running
mamba update --all -y
, I get the following error when try to runmamba env <what ever command>
, e.g., formamba env --help
(thoughconda env --help
works just fine):Installed packages
Environment info