`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 ]
        "$CONDA_EXE" $_CE_M $_CE_CONDA
        local cmd="$1"
        case "$cmd" in
            (activate | deactivate) __conda_activate "$cmd" "[email protected]" ;;
            (install | update | upgrade | remove | uninstall) CONDA_INTERNAL_OLDPATH="${PATH}" 
                "$CONDA_EXE" $_CE_M $_CE_CONDA "$cmd" "[email protected]"
                local t1=$?
                if [ $t1 = 0 ]
                    return $t1
                fi ;;
            (*) CONDA_INTERNAL_OLDPATH="${PATH}" 
                "$CONDA_EXE" $_CE_M $_CE_CONDA "$cmd" "[email protected]"
                local t1=$?
                return $t1 ;;

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 All rights reserved.