본문 바로가기
3Dsoftware/Ai

Zonos Generate 오류

by wonilmax 2026. 1. 10.

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