-
-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Namespace' object has no attribute 'func' #475
Comments
Looks like an incompatibility with the new The installation itself worked before the update, right? |
Hi @jaimergp! |
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:
but my base env does have conda-build version-23.5.2, same as conda. Weird |
The PR in |
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 mamba-org/mamba#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!" :) ❤️ |
Thanks to Cornelius, we just got a new release of (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
The text was updated successfully, but these errors were encountered: