AnswerBun.com

`which conda` doesn't output a path

I think which conda should output the path to the binary, but instead I get this:

$ which conda
conda () {
    if [ "$#" -lt 1 ]
    then
        "$CONDA_EXE" $_CE_M $_CE_CONDA
    else
        local cmd="$1"
        shift
        case "$cmd" in
            (activate | deactivate) __conda_activate "$cmd" "[email protected]" ;;
            (install | update | upgrade | remove | uninstall) CONDA_INTERNAL_OLDPATH="${PATH}" 
                __add_sys_prefix_to_path
                "$CONDA_EXE" $_CE_M $_CE_CONDA "$cmd" "[email protected]"
                local t1=$?
                PATH="${CONDA_INTERNAL_OLDPATH}" 
                if [ $t1 = 0 ]
                then
                    __conda_reactivate
                else
                    return $t1
                fi ;;
            (*) CONDA_INTERNAL_OLDPATH="${PATH}" 
                __add_sys_prefix_to_path
                "$CONDA_EXE" $_CE_M $_CE_CONDA "$cmd" "[email protected]"
                local t1=$?
                PATH="${CONDA_INTERNAL_OLDPATH}" 
                return $t1 ;;
        esac
    fi
}

Do you know how to fix this?

Super User Asked by alec_djinn on December 27, 2020

1 Answers

One Answer

In your environment, a conda function has been defined. I would try

conda install

Answered by Gerard H. Pille on December 27, 2020

Add your own answers!

Related Questions

Working in multiple languages/locales

2  Asked on November 3, 2021 by federico-nafria

   

Issues with UEFI: Can’t save settings and can’t boot OS automatically

2  Asked on November 3, 2021 by devank-mishra

     

Thinkpad X30 middle-click

4  Asked on November 3, 2021 by ian93

   

windows 10: Weird mouse movement (jumping and circle seen)

2  Asked on November 3, 2021 by user1480864

     

How to disable WSL password?

1  Asked on November 3, 2021

       

What to do when I need more keys than my keyboard has?

13  Asked on November 3, 2021 by carlanthony-zasowski

     

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved.