Skip to content
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

micromamba paths #3505

Open
Hind-M opened this issue Oct 4, 2024 · 1 comment
Open

micromamba paths #3505

Hind-M opened this issue Oct 4, 2024 · 1 comment
Assignees
Labels
type::bug Something isn't working

Comments

@Hind-M
Copy link
Member

Hind-M commented Oct 4, 2024

From y-mamba-reporter in prefix discord:

  • Micromamba 2 shell activation puts non-existent dirs on Linux $PATH. It should check that dirs exist before adding them to $PATH.
    One line at fault is export PATH="${MAMBA_ROOT_PREFIX}/condabin:${PATH} where condabin does not exist here.
    I have $MAMBA_ROOT_PREFIX/bin holding micromamba itself, and my own login profile scripts already place it on $PATH and define $MAMBA_EXE. My base environment is otherwise empty.

  • I also had a bothersome libmamba error message and made an empty $MAMBA_ROOT_PREFIX/conda-meta dir just to stop it (fixed in Add recommendation if error with root prefix #3513).

  • Lastly, I named $MAMBARC as 'condarc' because micromamba seems to prefer conda names (I'm not sure).

@Hind-M Hind-M self-assigned this Oct 4, 2024
@Hind-M
Copy link
Member Author

Hind-M commented Oct 8, 2024

* Lastly, I named `$MAMBARC` as 'condarc' because `micromamba` seems to prefer `conda` names (I'm not sure).

There is actually a precedence order regarding the different configuration possibilities (cf. schema and list in https://mamba.readthedocs.io/en/latest/user_guide/configuration.html#multiple-rc-files).
So $MAMBARC is supposed to have the highest precedence after CLI configuration.
To make sure there is no issue or bug, can you specify your use case and what made you think that micromamba seems to prefer conda names?

@JohanMabille JohanMabille added the type::bug Something isn't working label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants