8000 `No such command 'upload'. ` · Issue #736 · anaconda/anaconda-client · GitHub
[go: up one dir, main page]

Skip to content

No such command 'upload'.  #736

Open

Description

@ipcamit

When I run anaconda upload today I got the following error:

$ anaconda upload --help
Usage: anaconda [OPTIONS] COMMAND [ARGS]...
Try 'anaconda --help' for help.
╭─ Error ────────────────────────────────────────────────────────────────────────────────────────────────╮
│ No such command 'upload'.                                                                              │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯

$ anaconda --help                                                                                                          
 Usage: anaconda [OPTIONS] COMMAND [ARGS]...                                                              
                                                                                                          
 Welcome to the Anaconda CLI!                                                                             
                                                                                                          
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────╮
│ --version          Show version and exit.                                                              │
│ --help             Show this message and exit.                                                         │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯

anaconda-client version: 1.12.3

It was working fine, and it happened after I updated my mamba installation today. Even after reinstallation of anaconda-client, it is the same.

$ mamba --version
2.0.8

$ conda --version
conda 23.7.4

Activity

  1. mattkram commented on Apr 2, 2025

    @mattkram
    Contributor

    Thank you for the report, and apologies that you are seeing issues.

    Can you please provide the list of versions of anaconda plugins via conda list anaconda?

    Additionally, there is an environment variable flag you may be able to try as a temporary workaround, which will disable the new plugin system:

    ANACONDA_CLIENT_FORCE_STANDALONE=1

    However, I suspect there may be an incompatibility between installed versions that may indicate a need for a repodata patch on our end if confirmed around anaconda-client=1.12.3.

  2. ipcamit commented on Apr 3, 2025

    @ipcamit
    Author

    Thank you for the reply.

    1. exporting ANACONDA_CLIENT_FORCE_STANDALONE=1 did help
    2. Currently I downgraded to 1.11, which also works fine.

    Below is output of my conda list anaconda

    $  conda list anaconda                      
    # packages in environment at /opt/mambaforge/mambaforge/envs/build_libdesc:
    #
    # Name                    Version                   Build  Channel
    anaconda-cli-base         0.2.3              pyhd8ed1ab_0    conda-forge
    anaconda-client           1.12.3             pyhd8ed1ab_1    conda-forge
    anaconda-project          0.11.1             pyhd8ed1ab_0    conda-forge```
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0