Skip to main content
Chromologger is published on PyPI and can be installed with a single pip command. It requires Python ≥ 3.8 and has one runtime dependency — chromolog==0.2.5 — which is declared in the package’s pyproject.toml and installed automatically alongside Chromologger.

Install from PyPI

That’s all. pip resolves and installs chromolog==0.2.5 as part of the same command.

Install the dependency explicitly

If you ever need to install or re-install chromolog separately (for example, inside a Docker layer or to pin it in a requirements file), run:
You do not normally need to run this command. chromolog==0.2.5 is declared as a dependency in Chromologger’s pyproject.toml, so pip install chromologger always pulls it in automatically.

Verify the installation

Open a Python interpreter and confirm that the package and its metadata are available:

Virtual environments

It is strongly recommended to install Chromologger inside a virtual environment so it does not conflict with other projects on your system.
Once the virtual environment is active, all pip install and import commands are scoped to that environment.

Supported Python versions

Chromologger is tested against the following CPython releases:
Ready to write your first log entries? Head over to the Quickstart guide to create a Logger, capture an exception, and close the file cleanly in under five minutes.