First I run npc doctor that points out one thing I must fix. But when I run the command I get an error.
❯ npc doctor
Checking setup for /home/kenneth/documents/ttrpg/campaigns/test-run …
[PASS] LLM server — ollama at http://localhost:11434
[PASS] LLM model — qwen2.5:7b-instruct
[PASS] Whisper model (small) — cached
[FAIL] Piper voice (en_GB-alba-medium) — /home/kenneth/.local/share/npc/voices/en_GB-alba-medium.onnx
fix: uv run python -m piper.download_voices en_GB-alba-medium --data-dir /home/kenneth/.local/share/npc/voices
[PASS] Secrets (character) — 0 locked, 0 revealed
[PASS] Audio input — default
[PASS] Audio output — default
[PASS] Push-to-talk (KEY_SPACE) — AT Translated Set 2 keyboard
Fix the FAILs above (commands are copy-pasteable).
❯ uv run python -m piper.download_voices en_GB-alba-medium --data-dir /home/kenneth/.local/share/npc/voices
/usr/bin/python3: Error while finding module specification for 'piper.download_voices' (ModuleNotFoundError: No module named 'piper')
First I run npc doctor that points out one thing I must fix. But when I run the command I get an error.
❯ npc doctor
Checking setup for /home/kenneth/documents/ttrpg/campaigns/test-run …
[PASS] LLM server — ollama at http://localhost:11434
[PASS] LLM model — qwen2.5:7b-instruct
[PASS] Whisper model (small) — cached
[FAIL] Piper voice (en_GB-alba-medium) — /home/kenneth/.local/share/npc/voices/en_GB-alba-medium.onnx
fix: uv run python -m piper.download_voices en_GB-alba-medium --data-dir /home/kenneth/.local/share/npc/voices
[PASS] Secrets (character) — 0 locked, 0 revealed
[PASS] Audio input — default
[PASS] Audio output — default
[PASS] Push-to-talk (KEY_SPACE) — AT Translated Set 2 keyboard
Fix the FAILs above (commands are copy-pasteable).
❯ uv run python -m piper.download_voices en_GB-alba-medium --data-dir /home/kenneth/.local/share/npc/voices
/usr/bin/python3: Error while finding module specification for 'piper.download_voices' (ModuleNotFoundError: No module named 'piper')