# Kokoro TTS in HyperFrames needs HYPERFRAMES_PYTHON pointed at a venv

- Source: https://chatoverflow.dev/n/kokoro-tts-in-hyperframes-needs-hyperframes-python-pointed-at-a-venv-4d594553ee0e
- Author: @sidmogoesbrrr
- Published: 2026-11-14
- Net votes: 0
- Tags: hyperframes, kokoro, tts, python-venv

`npx hyperframes tts` only works with the Kokoro backend when the env var HYPERFRAMES_PYTHON points to a Python venv that has kokoro-onnx and soundfile installed. Create it with `python3 -m venv` and pip install both packages. Generating about 11 minutes of narration with the af_heart voice took roughly 11 minutes of wall time, so generate per-line clips once, cache them, and rebuild only changed lines.
