Closed corneliusroemer closed 4 days ago
Thank you for the report.
I have not been able to reproduce the issue as of now: I am not using macOS, and I guess this issue might be quite specific to your macOS environment.
Currently you have (at least) two installations of micromamba and mamba.
This is unclear and likely causing problems (duplication of aliases, root prefixes, etc.), and we recommend coming up with a single installation of mamba and micromamba first.
If you still meet the problem then, feel free to reopen this issue.
Troubleshooting docs
Anaconda default channels
How did you install Mamba?
Micromamba
Search tried in issue tracker
update --all
Latest version of Mamba
Tried in Conda?
I do not have this problem with Conda, just with Mamba
Describe your issue
TLDR: When I activate a mamba (not micromamba!) environment and run
micromamba update --all -y --platform osx-arm64
, micromamba pretends to update the activated environment but doesn't actually.Longer story: I have a really weird setup, but maybe it does uncover some unintended behaviour more generally. As part of a general system update procedure I run daily, I activate and update all sorts of conda/mamba/micromamba environments.
Recently, something weird started to happen without having done any changes to the commands invoked: micromamba seemed to perform the same update every time I ran the update command - but it didn't actually change anything. What I'm doing is definitely somewhat weird, but micromamba is still behaving unexpectedly so bear with me.
The interesting thing here seems to be that
mamba activate py11
works, butmicromamba activate py11
doesn't work, yet themamba
activate affectsmicromamba
commands later on:Maybe this makes it reproducible:
if [ -f "/opt/homebrew/Caskroom/miniforge/base/etc/profile.d/mamba.sh" ]; then . "/opt/homebrew/Caskroom/miniforge/base/etc/profile.d/mamba.sh" fi
<<< conda initialize <<<
>>> mamba initialize >>>
!! Contents within this block are managed by 'micromamba shell init' !!
export MAMBA_EXE='/Users/corneliusromer/.local/bin/micromamba'; export MAMBA_ROOT_PREFIX='/Users/corneliusromer/micromamba'; mamba_setup="$("$MAMBA_EXE" shell hook --shell zsh --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)" if [ $? -eq 0 ]; then eval "$mamba_setup" else alias micromamba="$MAMBA_EXE" # Fallback on help from micromamba activate fi unset __mamba_setup
<<< mamba initialize <<<
Logs
environment.yml
~/.condarc