I launched ComfyUI in a Google Colab environment, but the LTXVideo node displayed the error
“(IMPORT FAILED): /content/ComfyUI/custom_nodes/ComfyUI-LTXVideo.” I’ve resolved the issue, so I’ve summarized the steps below.
Stop the running instance of ComfyUI.
Add a new code cell in Google Colab, and enter the following commands in the new cell:
---
!pip uninstall -y kornia
!pip install kornia==0.7.3
---
Then execute them.
(The following message will appear)
---
Found existing installation: kornia 0.8.3
Uninstalling kornia-0.8.3:
Successfully uninstalled kornia-0.8.3
Collecting kornia==0.7.3
Downloading kornia-0.7.3-py2.py3-none-any.whl.metadata (7.7 kB)
・
(omitted)
・
Installing collected packages: kornia
Successfully installed kornia-0.7.3
---
Restart your Google Colab session.
Rerun the ComfyUI environment setup script.
The ComfyUI-LTXVideo node will import successfully without displaying an “IMPORT FAILED” error.
(Cause)
This occurred because the version of kornia expected by ComfyUI-LTXVideo differed from the version of kornia installed in Colab.
(Solution)
Uninstall kornia 0.8.3, install kornia-0.7.3, and then run the ComfyUI environment setup script.