Installation¶
Requirements¶
- Python 3.9 or newer
-
ffmpeg — required by Whisper to decode audio. It is a system package, not a Python one:
The first time you run a given Whisper model, its weights are downloaded
automatically and cached (typically under ~/.cache/whisper).
Install from PyPI¶
This installs the library, the syncalong command-line tool, and the core
dependencies (openai-whisper and
rapidfuzz).
Whisper pulls in PyTorch
openai-whisper depends on PyTorch, which is a large download. If you have a
CUDA-capable GPU, install a matching PyTorch build first (see the
PyTorch install guide) and
Whisper will use the GPU automatically.
Optional: vocal separation¶
For studio recordings where background music can confuse the speech model,
install the vocal-separation extra. It adds
Demucs, which isolates the vocal
track before transcription:
Then pass --separate-vocals (CLI) or separate_vocals=True (library).
Install for development¶
Clone the repository and install in editable mode with the dev and docs
extras:
The dev extra provides pytest, ruff, black, pyright, build, and twine; docs
provides MkDocs Material and mkdocstrings. See Contributing
for the full workflow.