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

running 'which mamba' returns mamba () { \local cmd="${1-__missing__}"; #2629

Closed
2 tasks done
SomePersonSomeWhereInTheWorld opened this issue Jun 27, 2023 · 1 comment
Closed
2 tasks done

Comments

@SomePersonSomeWhereInTheWorld

Troubleshooting docs

  • My problem is not solved in the Troubleshooting docs

How did you install Mamba?

Mambaforge

Search tried in issue tracker

running 'which mamba' returns mamba () { \local

Latest version of Mamba

  • My problem is not solved with the latest version

Tried in Conda?

I do not have this problem with Conda, just with Mamba

Describe your issue

running which mamba shows this:

mamba ()
{ 
    \local cmd="${1-__missing__}";
    case "$cmd" in 
        activate | deactivate)
            __conda_activate "$@"
        ;;
        install | update | upgrade | remove | uninstall)
            __mamba_exe "$@" || \return;
            __conda_reactivate
        ;;
        *)
            __mamba_exe "$@"
        ;;
    esac

It should return the location of where mamba is

mamba info / micromamba info

mamba info

          mamba version : 1.4.5
     active environment : None
            shell level : 0
       user config file : /path/to/me/.condarc
 populated config files : /path/to/me/mambaforge/.condarc
                          /path/to/me/.condarc
          conda version : 23.5.0
    conda-build version : not installed
         python version : 3.10.12.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.34=0
                          __linux=5.14.0=0
                          __unix=0=0
       base environment : /path/to/me/mambaforge  (writable)
      conda av data dir : /path/to/me/mambaforge/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /path/to/me/mambaforge/pkgs
                          /path/to/me/.conda/pkgs
       envs directories : /path/to/me/mambaforge/envs
                          /path/to/me/.conda/envs
               platform : linux-64
             user-agent : conda/23.5.0 requests/2.31.0 CPython/3.10.12 Linux/5.14.0-70.13.1.el9_0.x86_64 rhel/9.0 glibc/2.34
                UID:GID : 547289:500
             netrc file : None
           offline mode : False

Logs

No response

environment.yml

No response

~/.condarc

auto_activate_base: false
@jonashaag
Copy link
Collaborator

This is actually a side effect of mamba being a shell function rather than an executable file. See also #2577

@jonashaag jonashaag closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants