N.O.V.A v2 / documentation

Troubleshooting

Symptoms, likely causes and fixes for the errors you are most likely to hit during setup and use.

Find the symptom, check the likely cause, apply the fix. Setup steps are in Installation & Environment.

Install and environment

SymptomLikely causeFix
AssertionError: Torch not compiled with CUDA enabledCPU-only torch is installedUninstall torch and torchaudio, then reinstall from the cu121 index. See Verify the install
MemoryError inside pip's cachecontrol or msgpack codePip tried to load a huge cached download into RAMRun python -m pip cache purge, upgrade pip, and install with --no-cache-dir
Disabling PyTorch because PyTorch >= 2.6 is required, and Coqui says torch is missingtransformers 5.x with torch 2.5.1Run python -m pip install "transformers>=4.57,<5"
pip list shows dozens of packages in a fresh environmentIt was created with system site packagesDelete the folder and recreate it with plain python -m venv
Packages from other projects broke after an installThe install went into the global PythonCheck for the (.venv-tts) prefix and use python -m pip. Confirm pip -V shows a path inside the environment
The editor says an import could not be resolvedVS Code is using a different interpreterSelect the .venv-tts interpreter. It is an editor warning only; the code still runs from the terminal

Voice

SymptomLikely causeFix
No module named src.output.tts_engineThe filename has a hyphen, or the file is in the wrong folderIt must be src/output/tts_engine.py, with an underscore. Add empty __init__.py files if needed
Voice sample not foundWrong NOVA_VOICE_SAMPLE pathCheck that the WAV exists. Relative paths start from the project root
XTTS failed to load, and you hear a Windows voiceAny XTTS load error, with the fallback engine activeRead the error printed just above that line. Set NOVA_VOICE to pick which Windows voice is the fallback
Models download to the system driveTTS_HOME wasn't set when the script ranSet it in config/.env with an absolute path, then delete the stray copy
Speech sounds robotic or offThe pyttsx3 engine is active, or the reference recording is weakCheck NOVA_TTS=xtts. If it is, re-record in a quiet room with a steady mic distance. See Custom Voice
No greeting at startup, or it is spoken lateassets/greeting.wav hasn't been created, so N.O.V.A speaks the greeting live and waits for XTTSRun python scripts/make_greeting.py once. See Fast startup
The first spoken reply is delayed after launchXTTS is still loading in the backgroundWait for the engine ready in line in the console. Replies after that are instant
building the shared engine appears twice in the consoleThe TTS module is imported under two names (for example tts_engine and src.output.tts_engine), which creates two enginesImport it only as src.output.tts_engine. The module name: in that log line shows which name was used

Running

SymptomLikely causeFix
CUDA out-of-memory error, or very slow repliesXTTS and the language model share the same GPU memorySet NOVA_TTS_DEVICE=cpu, or use a smaller model. See Settings
Voice input crashes at startupPyAudio is missingRun python -m pip install PyAudio