Quick answer: ERROR: Failed to build 'openai-whisper' when getting requirements to build wheel almost always means pip is trying to build an old Whisper release (20240930 or earlier). Those releases have a setup.py that imports pkg_resources, which setuptools removed in version 82 (February 2026), and that reads its own version number in a way Python 3.13 broke. The fix is to install the current release, openai-whisper 20250625, in a fresh virtual environment: python3 -m venv whisper-env && source whisper-env/bin/activate && pip install -U openai-whisper. If a project forces the old version, you need Python 3.12 or older plus setuptools<82 and --no-build-isolation (details below).
Every command in this guide was run on 4 December 2026 on an Apple Silicon Mac (macOS 26, pip 26.3) against these versions: openai-whisper 20250625, PyTorch 2.15.0, whisper.cpp 1.9.6 (Homebrew), mlx-whisper 0.4.3. Python packaging changes fast, so if you're reading this much later, check those version numbers first.
New to Whisper and just want it installed? Start with our step-by-step guide to installing Whisper on Mac, then come back here if something breaks.
Find Your Error
| Error message (or symptom) | Most likely cause | Jump to |
|---|---|---|
Failed to build 'openai-whisper' when getting requirements to build wheel | An old Whisper version is being built with new setuptools or Python | Fix |
ModuleNotFoundError: No module named 'pkg_resources' | Same as above (setuptools 82+) | Fix |
KeyError: '__version__' | Same as above (Python 3.13+) | Fix |
error: externally-managed-environment | pip install run against Homebrew's Python | Fix |
whisper: command not found, zsh: command not found: whisper-cpp | venv not active, wrong PATH, or wrong command name | Fix |
module 'whisper' has no attribute 'load_model' | You installed the unrelated whisper package | Fix |
No matching distribution found for torch / mlx | Intel Mac, or an Intel (Rosetta) Python on an Apple Silicon Mac | Fix |
No module named 'setuptools_rust', Rust or compiler errors | A dependency has no ready-made build for your Python | Fix |
FileNotFoundError: ... 'ffmpeg' | FFmpeg missing or not on the PATH Python sees | Fix |
FP16 is not supported on CPU; using FP32 instead | Not an error: openai-whisper is running on the CPU | Explanation |
| whisper.cpp can't load a model, rejects your MP3, or outputs English | Model not downloaded, input not 16-bit WAV, or language not set | Fix |
"ERROR: Failed to build 'openai-whisper' when getting requirements to build wheel"
This is the error people search for most, and the message itself doesn't tell you much. Scroll up in your terminal and you'll find the real cause just above it. We reproduced it on Python 3.13 with pip install "openai-whisper==20240930":
File "<string>", line 5, in <module>
ModuleNotFoundError: No module named 'pkg_resources'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'openai-whisper' when getting requirements to build wheel
What's going on. OpenAI only publishes Whisper as source code, so pip builds it on your Mac every time. Releases up to 20240930 use a setup.py that:
- does
import pkg_resources, a module setuptools removed in version 82.0.0 (8 February 2026). pip builds in a clean, isolated environment with the newest setuptools, so this import fails on any Python version; - reads its version with
exec()andlocals()["__version__"], which stopped working in Python 3.13 (PEP 667 changed howlocals()behaves). That's theKeyError: '__version__'many people hit in late 2024.
Release 20250625 (June 2025) replaced setup.py with a pyproject.toml and fixes both problems.
Fix 1: install the current release (works for almost everyone)
python3 -m venv whisper-env
source whisper-env/bin/activate
pip install -U pip
pip install -U openai-whisper
Check what you got with pip show openai-whisper. It should say Version: 20250625 or newer. We tested this on Python 3.13 and 3.14; PyTorch, numba and tiktoken also publish Apple Silicon builds for Python 3.11 to 3.15, so any of those versions should work.
If the error persists, something is pinning the old version. Look for openai-whisper==2023… or ==2024… in the project's requirements.txt, pyproject.toml or install script, and change it to openai-whisper>=20250625. Installing straight from GitHub also gets you the current code:
pip install git+https://github.com/openai/whisper.git
Fix 2: you really need an old version
Some tools only work with an older Whisper. Then you need both an older Python (3.12 or lower, because of the KeyError) and an older setuptools, and you must tell pip to use it instead of building in isolation:
brew install python@3.12
python3.12 -m venv whisper-old
source whisper-old/bin/activate
pip install "setuptools<82" wheel
pip install --no-build-isolation "openai-whisper==20240930"
Treat this as a stopgap. We confirmed that on Python 3.13 the same commands still fail with KeyError: '__version__'.
"error: externally-managed-environment"
error: externally-managed-environment
...
hint: See PEP 668 for the detailed specification.
You ran pip install openai-whisper (or pip3 install) without a virtual environment, and pip is talking to Homebrew's Python. Homebrew marks its Python as "externally managed" (PEP 668) so pip can't break the packages Homebrew itself depends on.
Fix: create and activate a virtual environment first, as in Fix 1 above. Don't use --break-system-packages; the next brew upgrade can leave you with a broken Python. If you don't want to manage a venv at all, brew install openai-whisper installs Whisper with its own private Python (more on that in our install guide).
"whisper: command not found"
The install worked, but your shell can't find the command. Check these in order:
- The venv isn't active. A
whispercommand installed in a venv only exists while that venv is active. Every new Terminal window needssource whisper-env/bin/activateagain.which whispershould print a path insidewhisper-env/bin/. - You used
pip install --user. That puts the command in~/Library/Python/3.x/bin, which isn't on the macOSPATH. Reinstall inside a venv, or add that folder toPATHin~/.zshrc. - You installed a different Whisper. Each one uses its own command:
| You installed | Command to run |
|---|---|
pip install openai-whisper or brew install openai-whisper | whisper |
brew install whisper-cpp (Homebrew now calls it whisper.cpp; both names work) | whisper-cli |
pip install mlx-whisper | mlx_whisper (underscore) |
| whisper.cpp built from source | ./build/bin/whisper-cli inside the repo folder |
So zsh: command not found: whisper-cpp is expected: there's no command with that name. Older whisper.cpp tutorials also use ./main, which has since been replaced by whisper-cli.
If you see /bin/bash: line 1: whisper: command not found in a script, notebook or automation tool, that process isn't using your venv. Call the command by its full path (for example ~/whisper-env/bin/whisper) instead.
"module 'whisper' has no attribute 'load_model'"
pip install whisper (without openai-) installs a completely different package: the database library from the Graphite monitoring project. It imports as whisper too, so the install succeeds and only your code fails.
pip uninstall whisper
pip install -U openai-whisper
Also check that your own script isn't called whisper.py. Python will import your file instead of the library.
"No matching distribution found for torch" (or mlx)
Whisper needs PyTorch, and mlx-whisper needs both PyTorch and Apple's MLX. Both projects now publish Mac builds only for Apple Silicon: current PyTorch (2.15) needs macOS 14 or later, and its last Intel Mac build was version 2.2.2, which stops at Python 3.12. MLX also needs macOS 14 or later.
First check what your Python actually is:
python3 -c "import platform, sys; print(platform.machine(), sys.version)"
arm64: you're fine on this front. Check your macOS version (sw_vers) and that the Python version is 3.11 or newer.x86_64on an Apple Silicon Mac: you're running an Intel Python under Rosetta. This is common with old Anaconda installs or a Homebrew left in/usr/localfrom an Intel Mac migration. Install a native Python (/opt/homebrew/bin/brew install python@3.13, or the macOS installer from python.org) and recreate your venv with it.x86_64on an Intel Mac: pip-based Whisper is now hard work, and Homebrew'sopenai-whisper,pytorchandwhisper.cppformulas no longer ship ready-built packages (bottles) for Intel Macs either. The most reliable route is to build whisper.cpp from source (below); it runs on the CPU and doesn't need PyTorch.
Rust or compiler errors during install
If the install log shows Rust, cargo, No module named 'setuptools_rust', or a C/C++ compiler running, pip couldn't find a ready-made build (a "wheel") of a dependency for your setup, usually tiktoken, numba or llvmlite, and is trying to compile it from source.
On Apple Silicon these packages ship wheels for Python 3.10 to 3.15 (as of December 2026), so compiling usually means one of two things:
- your Python is an
x86_64(Rosetta) build: see the section above; - your Python is newer than the packages' last release. Use the newest Python that has wheels instead.
The Whisper README describes the last-resort route: install Rust from rust-lang.org and run pip install setuptools-rust. It works, but fixing the Python version is usually quicker.
"ffmpeg not found"
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
openai-whisper and mlx-whisper both call the ffmpeg program to decode audio. Install it, then check that your shell can find it:
brew install ffmpeg
which ffmpeg # should print /opt/homebrew/bin/ffmpeg on Apple Silicon
If which ffmpeg works in Terminal but Whisper still can't find it, your Python is running with a different PATH. This happens with Jupyter, IDEs and apps started from the Dock. Start them from a Terminal where which ffmpeg works, or add /opt/homebrew/bin to that tool's PATH. The pip install ffmpeg and ffmpeg-python packages don't install the FFmpeg program itself.
"FP16 is not supported on CPU; using FP32 instead"
This is a warning, not an error, and your transcript will still be created. It tells you openai-whisper is running on the CPU: it uses an NVIDIA GPU (CUDA) when there is one and otherwise falls back to the CPU, and Macs have no NVIDIA GPU. That's the main reason the official package feels slow on a fast MacBook.
If you want Apple Silicon's GPU to do the work, use whisper.cpp (Metal) or mlx-whisper (MLX) instead. Our install guide compares the three.
whisper.cpp problems
The Homebrew package installs quickly, but three things catch people out:
1. No model is included. Homebrew says so in its install notes. Download a ggml model file once, for example Large V3 Turbo (about 1.6 GB):
mkdir -p ~/whisper-models
curl -L -o ~/whisper-models/ggml-large-v3-turbo.bin \
https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large-v3-turbo.bin
2. It expects 16-bit WAV audio. The whisper.cpp README says the whisper-cli example "currently runs only with 16-bit WAV files". Convert your file first:
ffmpeg -i input.mp4 -ar 16000 -ac 1 -c:a pcm_s16le audio.wav
3. The default language is English. Without -l, whisper-cli assumes English, so other languages come out wrong or translated. Set the language, or use auto:
whisper-cli -m ~/whisper-models/ggml-large-v3-turbo.bin -f audio.wav -l auto -osrt
-osrt writes audio.wav.srt next to the input.
Building from source (for example on an Intel Mac) now uses CMake. The old make and ./main instructions in many tutorials are outdated:
xcode-select --install # compilers, if you don't have them yet
brew install cmake
git clone https://github.com/ggml-org/whisper.cpp
cd whisper.cpp
sh ./models/download-ggml-model.sh large-v3-turbo
cmake -B build
cmake --build build -j --config Release
./build/bin/whisper-cli -m models/ggml-large-v3-turbo.bin -f audio.wav -l auto
mlx-whisper problems
pip install mlx-whisper (inside a venv) is all it takes on a supported Mac, and it's often the fastest Whisper option on M-series chips. If it fails, it's nearly always the platform: MLX needs Apple Silicon, macOS 14 or later and a native arm64 Python 3.10+. Run the check in the torch/mlx section. It also needs FFmpeg.
The first run downloads the model from Hugging Face, so it needs an internet connection and some disk space:
mlx_whisper audio.mp3 --model mlx-community/whisper-large-v3-turbo -f srt
Which Whisper Should You Install on a Mac?
| openai-whisper | whisper.cpp | mlx-whisper | Subtitle Studio (app) | |
|---|---|---|---|---|
| Install | pip install -U openai-whisper in a venv, or brew install openai-whisper | brew install whisper-cpp + download a model | pip install mlx-whisper in a venv | Download and open the app |
| Uses the Apple GPU | No, runs on the CPU | Yes (Metal) | Yes (MLX) | Yes |
| Needs | Python, FFmpeg | A model file; WAV input | Apple Silicon, macOS 14+, Python, FFmpeg | Apple Silicon Mac with macOS 13+, or Windows 10/11 |
| Works on Intel Macs | Difficult (see above) | Yes, built from source | No | No |
| Best for | Python scripts, the reference implementation | Fast command-line batches | Fast transcription from Python | Subtitles you edit and export without a terminal |
If you're comfortable in the terminal, whisper.cpp from Homebrew is the least fragile setup today: there's no Python to break, and it uses the GPU. mlx-whisper is a good choice if you want to work in Python.
Don't Want to Debug Python at All?
All of the above is worth it if you want Whisper in your own scripts. If what you actually need is subtitles for a video, Subtitle Studio runs Whisper-based models on your Mac with no Python, Homebrew or FFmpeg to install. It also adds the parts the command line doesn't have, such as a subtitle editor, line breaking and offline translation. It needs an Apple Silicon Mac (macOS 13 or later) or a Windows 10/11 PC, so it won't help on an Intel Mac. See Whisper subtitles on Mac without Terminal for the models it includes, or the offline subtitle generator page if privacy is your main concern.
Subtitle Studio
No Python, no Homebrew. Runs on-device on Apple Silicon Macs and Windows.
Frequently Asked Questions
Why does pip say "Failed to build 'openai-whisper' when getting requirements to build wheel"?
Because pip is building an old Whisper release (20240930 or earlier). Its setup.py imports pkg_resources, which setuptools removed in version 82 (February 2026), and it reads its version in a way Python 3.13 broke. Install the current release, openai-whisper 20250625 or newer, in a virtual environment, or remove the old version pin from your requirements file.
Which Python version should I use for Whisper on Mac?
With the current openai-whisper release, Python 3.11 to 3.14 all work on Apple Silicon. We tested 3.13 and 3.14 in December 2026, and the dependencies also publish builds for 3.15. Only old Whisper releases need Python 3.12 or older. Always use a native arm64 Python, not an Intel build running under Rosetta.
Is "brew install openai-whisper" better than pip?
It avoids virtual environments and the externally-managed-environment error, because Homebrew gives Whisper its own Python and PyTorch. It's the same openai-whisper (20250625), so it still runs on the CPU. Homebrew currently ships ready-built packages only for Apple Silicon Macs on macOS 15 or later; on older systems it tries to build from source.
Why is the whisper-cpp command not found after brew install whisper-cpp?
The program is called whisper-cli, not whisper-cpp. Homebrew has also renamed the package to whisper.cpp, but brew install whisper-cpp still works. You also need to download a ggml model file and pass it with -m.
Can I run Whisper on an Intel Mac?
Yes, but not with the current pip packages: PyTorch stopped publishing Intel Mac builds after version 2.2.2, and MLX only supports Apple Silicon. Build whisper.cpp from source with CMake instead; it runs on the CPU. Subtitle Studio's Mac app also requires Apple Silicon.
Does openai-whisper use the GPU on Apple Silicon?
Not by default. It uses an NVIDIA GPU when there is one and otherwise runs on the CPU, which is why it prints "FP16 is not supported on CPU". For GPU speed on a Mac, use whisper.cpp (Metal) or mlx-whisper (MLX), or an app that has a GPU-accelerated model built in.
Try Subtitle Studio for free
One-time purchase. No subscription. Runs fully offline on Mac and Windows.

