Could not load libtorchcodec. Likely causes:
1. FFmpeg is not properly installed in your environment. We support
versions 4, 5, 6 and 7.
2. The PyTorch version (2.9.1+cu128) is not compatible with
this version of TorchCodec. Refer to the version compatibility
table:
https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec.
3. Another runtime dependency; see exceptions below.
The following exceptions were raised as we tried to load libtorchcodec:
[start of libtorchcodec loading traceback]
FFmpeg version 7: Could not load this library: E:\Ai\ComfyUI_Audio\ComfyUI\python_embeded\Lib\site-packages\torchcodec\libtorchcodec_core7.dll
FFmpeg version 6: Could not load this library: E:\Ai\ComfyUI_Audio\ComfyUI\python_embeded\Lib\site-packages\torchcodec\libtorchcodec_core6.dll
FFmpeg version 5: Could not load this library: E:\Ai\ComfyUI_Audio\ComfyUI\python_embeded\Lib\site-packages\torchcodec\libtorchcodec_core5.dll
FFmpeg version 4: Could not load this library: E:\Ai\ComfyUI_Audio\ComfyUI\python_embeded\Lib\site-packages\torchcodec\libtorchcodec_core4.dll
[end of libtorchcodec loading traceback].
위의 오류 해결 방법
1) python.exe -m pip install --upgrade torchcodec
최초로 업그레이드를 시도해 볼것.
안될시에 아래처럼 지우고 토치 버전에 맞게 재설치
2) python_embeded\python.exe -m pip uninstall torchcodec
3) python_embeded\ python.exe -m pip install torchcodec
or
3) python_embeded\python.exe -m pip install torchcodec --index-url https://download.pytorch.org/whl/cu128
'3Dsoftware > Ai' 카테고리의 다른 글
| comfyUI rgthree-badge (frontend_only) remove (0) | 2026.01.14 |
|---|---|
| Griptape Run: Audio Transcription - 오류 해결 (0) | 2026.01.10 |
| ComfyUI Zonos 오류 해결 (0) | 2026.01.10 |
| Rtx 5090 - TRELLIS.2 설치 (0) | 2026.01.03 |
| Python 가상환경 세가지 방식 (venv vs embedded vs env) (0) | 2025.12.17 |