magic-animate icon indicating copy to clipboard operation
magic-animate copied to clipboard

ModuleNotFoundError: No module named 'diffusers.pipeline_utils'

Open tpcdaz opened this issue 2 years ago • 5 comments

Having an issue here when I try to run it I get this error "ModuleNotFoundError: No module named 'diffusers.pipeline_utils'"

So I try pip install diffusers.pipeline_utils and get this error

D:\AI\MagicAnimate>pip install diffusers.pipeline_utils Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com ERROR: Could not find a version that satisfies the requirement diffusers.pipeline_utils (from versions: none) ERROR: No matching distribution found for diffusers.pipeline_utils

And it just stops. Any ideas?

tpcdaz avatar Dec 09 '23 01:12 tpcdaz

install error

it is really hard to install properly

i have venv pip auto installer along with extra features such as auto DensePose maker and CodeFormer face improvement and video upscale

https://github.com/magic-research/magic-animate/issues/85

FurkanGozukara avatar Dec 10 '23 10:12 FurkanGozukara

install error

it is really hard to install properly

i have venv pip auto installer along with extra features such as auto DensePose maker and CodeFormer face improvement and video upscale

#85

Trying to get people to pay for your patreon instead of helping is pretty poor tbh

tpcdaz avatar Dec 10 '23 12:12 tpcdaz

You are using recent diffusers module. Go to /magicanimate/pipelines/pipeline_animation.py and modify following line. from diffusers.pipeline.pipeline_utils import DiffusionPipeline -> from diffusers import DiffusionPipeline

heury avatar Dec 12 '23 07:12 heury

Just change this line:

from diffusers.pipeline_utils import DiffusionPipeline

to:

try:
    from diffusers.pipeline_utils import DiffusionPipeline
except:
    from diffusers.pipelines.pipeline_utils import DiffusionPipeline

yusijin02 avatar Mar 27 '24 03:03 yusijin02