How to Install kombu in Python

v5.6.2 General Purpose Python >=3.9 BSD-3-Clause

Messaging library for Python.

Install pip install kombu

What is kombu?

Messaging library for Python.

Quick Start

Minimal example to get started with kombu:

import kombu

print(kombu.__version__)

Installation

pip (standard)

pip install kombu

Virtual environment (recommended)

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

pip3

pip3 install kombu

conda

conda install -c conda-forge kombu

Poetry

poetry add kombu

Dependencies

Installing kombu will also install these packages:

Verify the Installation

After installing, confirm the package is available:

python -c "import kombu; print(kombu.__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 kombu with pip.

ModuleNotFoundError: No module named 'kombu'

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

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

ModuleNotFoundError: No module named 'kombu' (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 kombu to install into the interpreter you are running.

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

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

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

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 kombu. 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 kombu

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 kombu

Recent Releases

VersionReleased
5.6.2 latest 2025-12-29
5.6.1 2025-11-25
5.6.0 2025-11-01
5.6.0rc2 2025-10-20
5.6.0rc1 2025-09-28

Full release history on PyPI →

Manage kombu

Upgrade to latest version

pip install --upgrade kombu

Install a specific version

pip install kombu==5.6.2

Uninstall

pip uninstall kombu

Check what is installed

pip show kombu

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