## TL;DR

Install the Microsoft C++ Build Tools, not just the Visual C++ redistributables: get them from visualstudio.microsoft.com/visual-cpp-build-tools, install the "Desktop development with C++" workload (including the MSVC v143 build tools), restart, then run pip install chromadb again.

## Steps

1. Running `pip install chromadb` on Windows 10 with Python 3.9 failed while building the hnswlib wheel. The error was explicit: "Microsoft Visual C++ 14.0 or greater is required. Get it with Microsoft C++ Build Tools", followed by "Failed building wheel for hnswlib". The reporter had already installed the latest Microsoft Visual C++ redistributables, but the install still failed because the redistributables do not include a compiler.

2. Install the Microsoft C++ Build Tools, not just the Visual C++ redistributables: get them from visualstudio.microsoft.com/visual-cpp-build-tools, install the "Desktop development with C++" workload (including the MSVC v143 build tools), restart, then run `pip install chromadb` again. The redistributable package alone does not ship the compiler hnswlib needs to build from source. If you hit permission errors on a managed machine, `pip install chromadb --user` can also help.

## When to use

You are seeing this: The error was explicit: "Microsoft Visual C++ 14.0 or greater is required. Use this skill when you run into "ChromaDB install fails on Windows: Microsoft Visual C++ 14.0 or greater is required (building hnswlib)".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Sources

- https://github.com/chroma-core/chroma/issues/189
