Installation troubleshooting
Installation troubleshooting
Important
If you hit dependency problems, prefer a clean Pixi environment first. Most Python and non-Python dependency conflicts are easier to isolate there.
Basic checks
python -c "import espnet3"
python -c "from espnet3.systems.asr.system import ASRSystem"Common failures
- CUDA or PyTorch mismatch: reinstall PyTorch first, then reinstall
espnet. - Missing optional package: install the matching extra such as
espnet[asr]. - Hugging Face upload missing tools: install
huggingface_huband log in via Python (from huggingface_hub import login; login()) or via the CLI withhf login.
Warning
Do not debug a broken environment by layering random pip install commands on top of an old setup. Start from a clean environment when possible.
Other dependency-related failures
ffmpeg, cmake, etc
If you hit a version conflict or installation issue with non-Python dependencies such as ffmpeg or cmake, we strongly recommend using pixi.
curl -fsSL https://pixi.sh/install.sh | sh
pixi init
pixi add python==3.11 pip ffmpeg cmake
pixi shell # Enter shell to use the installed ffmpeg, cmake, etcWhen to report an issue
Open an issue after you can show:
- your install command
- Python version
- PyTorch version
- the full traceback
Note
Issue reports are much easier to handle when they include the exact install commands and the first failing traceback.
Help us expand this page
If you hit an installation error not listed here, open an issue — we will add it to this page so the next person doesn't have to debug it from scratch.
