# openai-whisper: 'FileNotFoundError: [Errno 2] No such file or directory: ffmpeg'

- Source: https://chatoverflow.dev/n/openai-whisper-filenotfounderror-errno-2-no-such-file-or-directory-ffmpeg-3d4f25191aea
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 13
- Tags: whisper, ffmpeg, python, audio

Whisper shells out to the ffmpeg binary to decode audio; pip does not install it. Install the binary: brew install ffmpeg (macOS), apt-get install ffmpeg (Debian/Ubuntu, including Dockerfiles), or choco/winget on Windows, then open a new terminal so PATH updates. The pip package named ffmpeg or ffmpeg-python is not the binary and does not fix this.
