Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Aider error

Aider: You need to: pip install boto3

Error message
You need to: pip install boto3

Status: WorkaroundLast verified 4 documented fixes3 sources

What it means

You picked an AWS Bedrock model, but the boto3 package is not installed in aider's Python environment. Aider detects "boto3" in the litellm APIConnectionError and stops without retrying.

Causes

  • boto3 is not installed in the environment aider runs in; the Bedrock docs say you may need to install it.

How to fix it

  1. Fix 1.

    If you installed with aider-install or uv tool:

    Snippet
    uv tool run --from aider-chat pip install boto3
  2. Fix 2.

    If you installed with pipx:

    Snippet
    pipx inject aider-chat boto3
  3. Fix 3.

    Otherwise:

    Terminal
    pip install -U boto3
  4. Fix 4.

    The full docker container includes boto3 for Bedrock since v0.74.0.

More Aider errors

All 17 Aider errors

FAQ

What does "You need to: pip install boto3" mean in Aider?

You picked an AWS Bedrock model, but the boto3 package is not installed in aider's Python environment. Aider detects "boto3" in the litellm APIConnectionError and stops without retrying.

How do I fix "You need to: pip install boto3"?

There are 4 documented fixes. Start with the first: If you installed with aider-install or uv tool:

Is this Aider error fixed?

Status: Workaround. No release removes the cause. The documented fixes work around it. Affected versions: All versions using Bedrock without boto3; full docker image bundles boto3 since v0.74.0.

Sources

Last verified against 3 sources: official docs, maintainer replies and release notes.

Newsletter

Fixes for the tools you use, weekly

One email per week. New coding agent releases, what broke, and how developers are working around it.