Free | No tracking | Every fact with a source|German and English

Error / Installation

Whisper: FileNotFoundError: [WinError 2] The system cannot find the file specified – ffmpeg is not installed or is not in the PATH

To read the audio file, Whisper calls the ffmpeg program and can’t find it.

The message

File "…\whisper\audio.py", line …, in load_audio … FileNotFoundError: [WinError 2] The system cannot find the file specified (deutsch: Das System kann die angegebene Datei nicht finden.) – unter Linux/macOS: FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'

Affects: OpenAI Whisper

Why is this happening?

OpenAI Whisper needs the command-line program ffmpeg to read audio and video files. ffmpeg is not installed with pip install openai-whisper. If it’s missing or its folder is not in the PATH, Windows reports that the file could not be found. This refers to ffmpeg.exe, not your audio file.

How to fix it

  1. In a new terminal, check whether ffmpeg is found: ffmpeg -version. If you get an error message, ffmpeg is not installed or is not in the PATH.
  2. Install ffmpeg on Windows, for example with winget install ffmpeg, or alternatively with choco install ffmpeg (Chocolatey) or scoop install ffmpeg (Scoop).
  3. Alternatively, download a prebuilt Windows build from https://www.gyan.dev/ffmpeg/builds/, extract it, and add the bin subfolder to the PATH.
  4. After that, close all terminals (and VS Code) and open them again, otherwise they won’t know the new PATH yet. Check again with ffmpeg -version.
  5. If you use conda, ffmpeg must be available in the same environment where Whisper runs.
  6. On Linux: sudo apt update && sudo apt install ffmpeg, on macOS: brew install ffmpeg.

Better not: The pip packages “ffmpeg” or “ffmpeg-python” do not include the ffmpeg program itself and do not fix this problem.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.