Skip to content

GUIDE: Fix missing module not found error like omegaconf, diffusers, imageio, librosa, opencv etc #115

@simplyexperimental

Description

@simplyexperimental

I was following this great tutorial by Benji's AI Playground and hit some errors and missing nodes as well.
Sonic In ComfyUI - A Truly Awesome Portrait Animation AI Talking Avatar Framework
https://youtu.be/8DTAAOhRx3Q

I ran the code to install it like pip install omegaconf or whatever the line was and it said it was already installed!!!
Thanks to DeepSeek it helped me find the solution.

run the cmd terminal in the main folder where comfyui portable is - the folder that has the 3 bat files and readme stuff.

.\python_embeded\python.exe -m pip install MODULENAME --no-cache-dir

example:
.\python_embeded\python.exe -m pip install omegaconf --no-cache-dir

then it should be a successful install.
Now run the gpu nvidia bat file again and that error should be fixed but it should then say another module is missing - perhaps this time diffusers etc

.\python_embeded\python.exe -m pip install diffusers --no-cache-dir

keep going until comfy ui finally launches without errors.
For me it kept going so here's what I ended up also using:

.\python_embeded\python.exe -m pip install imageio --no-cache-dir
.\python_embeded\python.exe -m pip install librosa --no-cache-dir
.\python_embeded\python.exe -m pip install opencv-python --no-cache-dir

Finally comfy UI launched but during the tutorial it mentioned a node I was missing so I installed the comfy UI manager by following the install instructions here:
https://github.com/Comfy-Org/ComfyUI-Manager
Then once manager was installed and comfyui was restarted I opened the manager button and following the instructions here:
https://www.runcomfy.com/comfyui-nodes/ComfyUI-VideoHelperSuite/VHS_VideoCombine
I searched for the ComfyUI-VideoHelperSuite and installed it and restarted comfyui again.

Now I could finally follow along with the tutorial and get it all working!

So thank you everyone and deep seek especially!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions