How to Install botocore in Python

v1.42.88 General Purpose Python >=3.9 Apache-2.0

Low-level, data-driven core of boto 3.

Install pip install botocore

What is botocore?

Low-level, data-driven core of boto 3.

A low-level interface to a growing number of Amazon Web Services. The botocore package is the foundation for the as well as .

Botocore is maintained and published by .

On 2026-04-29, support for Python 3.9 will end for Botocore. This follows the Python Software Foundation for the runtime which occurred on 2025-10-31.

Quick Start

Minimal example to get started with botocore:

import botocore

print(botocore.__version__)

Installation

pip (standard)

pip install botocore

Virtual environment (recommended)

python -m venv venv
source venv/bin/activate   # Windows: venv\Scripts\activate
pip install botocore

pip3

pip3 install botocore

conda

conda install -c conda-forge botocore

Poetry

poetry add botocore

Dependencies

Installing botocore will also install these packages:

Verify the Installation

After installing, confirm the package is available:

python -c "import botocore; print(botocore.__version__)"

If this prints a version number, installation succeeded. If you see a ModuleNotFoundError, see the errors section below.

Installation Errors

Common errors when installing botocore with pip.

ModuleNotFoundError: No module named 'botocore'

Cause: The package is not installed in the current Python environment.

Fix: Run pip install botocore. If using a virtual environment, ensure it is activated first.

ModuleNotFoundError: No module named 'botocore' (installed but still failing)

Cause: pip installed the package into a different Python than the one running your script.

Fix: Use python -m pip install botocore to install into the interpreter you are running.

ImportError: cannot import name 'X' from 'botocore'

Cause: The function or class does not exist in the installed version.

Fix: Check the version with pip show botocore and upgrade with pip install --upgrade botocore.

pip: command not found

Cause: pip is not in PATH or Python was not added to PATH during installation.

Fix: Try python -m pip install botocore. On macOS/Linux try pip3.

PermissionError: [Errno 13] Permission denied

Cause: No write access to the system Python package directory.

Fix: Use a virtual environment, or add --user: pip install --user botocore

SSL: CERTIFICATE_VERIFY_FAILED

Cause: pip cannot verify PyPI's SSL certificate — common behind corporate proxies.

Fix: Try: pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org botocore

Recent Releases

VersionReleased
1.42.88 latest 2026-04-10
1.42.86 2026-04-09
1.42.87 2026-04-09
1.42.85 2026-04-07
1.42.84 2026-04-06

Full release history on PyPI →

Manage botocore

Upgrade to latest version

pip install --upgrade botocore

Install a specific version

pip install botocore==1.42.88

Uninstall

pip uninstall botocore

Check what is installed

pip show botocore

Last updated: 2026-04-11 • Data from PyPI