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

Error / Installation

RuntimeError: espeak not installed on your system (speech output cannot find espeak-ng)

The speech output program needs the extra program espeak-ng for pronunciation and cannot find it.

The message

RuntimeError: espeak not installed on your system  |  Coqui TTS: [!] No espeak backend found. Install espeak-ng or espeak to your system.

Affects: Kokoro TTS, Coqui TTS (Idiap fork) with XTTS-v2, Python

Why is this happening?

Kokoro (via misaki and phonemizer) and Coqui TTS use espeak-ng to convert text into phonemes – with Kokoro as a fallback for English and for some other languages. espeak-ng is a separate program and is not installed with pip. phonemizer looks for the file libespeak-ng.dll on Windows, Coqui calls the espeak-ng command; if the program is missing or not in the PATH, you get this message.

How to fix it

  1. On Windows, download the installer from github.com/espeak-ng/espeak-ng/releases (latest version, *.msi file, on current PCs the X64 variant) and install it.
  2. Close all terminals, open a new one, and check with espeak-ng --version whether the command is found. If not, add the folder C:\Program Files\eSpeak NG to the PATH.
  3. If phonemizer still cannot find the library, set the variable to the DLL: setx PHONEMIZER_ESPEAK_LIBRARY "C:\Program Files\eSpeak NG\libespeak-ng.dll" and then open a new terminal.
  4. Alternatively, in your own Python script before starting: from phonemizer.backend.espeak.wrapper import EspeakWrapper and EspeakWrapper.set_library(r'C:\Program Files\eSpeak NG\libespeak-ng.dll').
  5. On Linux: sudo apt-get install espeak-ng, on macOS: brew install espeak-ng.

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.