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
- On Windows, download the installer from github.com/espeak-ng/espeak-ng/releases (latest version,
*.msifile, on current PCs the X64 variant) and install it. - Close all terminals, open a new one, and check with
espeak-ng --versionwhether the command is found. If not, add the folderC:\Program Files\eSpeak NGto the PATH. - 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. - Alternatively, in your own Python script before starting:
from phonemizer.backend.espeak.wrapper import EspeakWrapperandEspeakWrapper.set_library(r'C:\Program Files\eSpeak NG\libespeak-ng.dll'). - 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:
- Clone Your Own Voice (Text to Speech)
Use Chatterbox Multilingual to clone your own voice locally and have German texts read aloud — including legal basics, recording tips, and …
Terms for this
Similar errors
- pip install TTS: No matching distribution found for TTS (Coqui TTS does not fit your Python version)
- pip: Microsoft Visual C++ 14.0 or greater is required
- ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied – pip cannot modify a file
- text-generation-webui: ModuleNotFoundError: No module named 'llama_cpp_binaries' (llama.cpp loader missing after update)
- 'python' is not recognized or opens the Microsoft Store
Sources
- https://bootphon.github.io/phonemizer/install.html
- https://github.com/hexgrad/kokoro
- https://github.com/idiap/coqui-ai-TTS/blob/dev/TTS/tts/utils/text/phonemizers/espeak_wrapper.py
- https://github.com/espeak-ng/espeak-ng/releases
Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.