Skip to content

aws login command does not "botocore[crt]" dependency #9949

@jatinmehrotra

Description

@jatinmehrotra

Describe the bug

I am trying to use dvc push to upload my data set to s3 bucket.

When my vscode terminal is authenticated with aws login dvc push is not able to push the data set to configured remote i.e s3 bucket

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

When terminal is authenticated to with aws login command, dvc push should be able push to s3 without errors

Current Behavior

when I use dvc push I get the error message

jatinmehrotra@Jatins-MacBook-Air mlops-zero-hero % dvc push                 
Collecting                                                                  |0.00 [00:00,    ?entry/s]
Pushing
ERROR: unexpected error - Missing Dependency: Using the login credential provider requires an additional dependency. You will need to pip install "botocore[crt]" before proceeding.

Installing above dependency doesn't work

But if I use Iam credentials access id and secret key and configure using aws configure and then use dvc push it works.

Reproduction Steps

  • Configure dvc add and dvc remote i.e s3 bucket

  • Do no configure aws cli, just use aws login and then use dvc push

  • you will find error as mentioned above.

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws-cli/2.32.8 Python/3.13.9 Darwin/25.1.0 source/arm64

Environment details (OS name and version, etc.)

Macos Tahoe 26.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions