Skip to content

kaggle auth login fails in Kaggle CLI 2.1.0 #992

@ncstm

Description

@ncstm

Environment
Windows
Python 3.11
kaggle==2.1.0

Reprodicing it

pip install kaggle
kaggle auth login
usage: kaggle [-h] [-v] [-W] {competitions,c,datasets,d,kernels,k,models,m,files,f,benchmarks,b,config,auth} ...
kaggle: error: argument command: unknown parser 'auth' (choices: competitions, c, datasets, d, kernels, k, models, m, files, f, benchmarks, b, config)

Expected result
kaggle auth login should start the auth flow.

Notes

auth appears in the usage string, but it is missing from the accepted parser choices. This looks like a CLI parser registration/choices mismatch in kaggle==2.1.0.

I have not tested older versions yet, so I am not claiming a specific known-good version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions