[Python] anaconda conda: error: argument command: invalid choice when trying to update packages

Discussão em 'Python' iniciado por Stack, Maio 31, 2025.

  1. Stack

    Stack Membro Participativo

    I am using ubuntu 18 with anaconda for python 3.6 and trying to update packages, when I try to do so using

    conda update --all


    I am getting this error


    conda: error: argument command: invalid choice: '/home/user/anaconda3/bin/conda'
    ​

    I tried so solve it like explained in this github issue

    using

    $ conda update anaconda-navigator
    $ conda update navigator-updater


    But getting the same error. I tried adding -c conda-forge to all the commands And tried using conda update anaconda conda upgrade anaconda

    and getting the same error all the time.

    Here is my github issue on this

    Thanks!

    update: even when trying to use this to install anaconda-clean and removing anaconda, I am getting the same error when trying to install conda-clean that should help me remove anaconda from my machine

    Continue reading...

Compartilhe esta Página