Closed Yaiol closed 2 years ago
Add this line
print (sys.path)
just after the sys path extend fragment in deforum.py, line 57 https://github.com/deforum-art/deforum-for-automatic1111-webui/blob/753893492521fa7f50c328976692be6834fcef65/scripts/deforum.py#L53-L57
and send here the array of folders you will get in the log
Thanks a lot that is fixing the issue, the deforum folder into extensions didn't have the good name. I renamed the extensions to control the order of tabs into sd-webui, that worked for others extensions, cannot be done with deforum.
Thanks a lot that is fixing the issue, the deforum folder into extensions didn't have the good name. I renamed the extensions to control the order of tabs into sd-webui, that worked for others extensions, cannot be done with deforum.
can you describe it a bit more, as im not getting what to do now am on Mac thought
can you describe it a bit more, as im not getting what to do now am on Mac thought
The code of deforum only works if you don't rename the folder extension name. line 53 of deforum.py assumes the folder name of deforum extension is "deforum" if you rename it to anything else then you get the error with No module named 'py3d_tools'
sys.path.extend([
os.getcwd()+'/scripts/deforum/src',
os.getcwd()+'/extensions/deforum/scripts/deforum/src'
])
Hope is more clear
got it thanks
I am getting the same issue while Running in Automatic 1111 Colab as an extension. Please help.
@Ericdom add that debug line https://github.com/deforum-art/deforum-for-automatic1111-webui/issues/28#issuecomment-1291151841 and send that you're getting
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui/scripts/deforum/render.py", line 13, in
@kabachuha
what does print (sys.path)
write?
check the full log, it should display your path content
As i explained before be sure you didn't rename "deforum" extension directory is what is causing this issue
Hi this is a bit confusing to me too.
My path is a follows:
So the extensions
folder is inside the stable-diffusion-webui
folder.
I would appreciate some clarification. Thanks!
Updated path:
after restarting and running the deforum in the webui I still get the error:
ModuleNotFoundError: No module named 'py3d_tools'
I see this thread is a little old. Has this fix been committed to the main branch?
Fresh Install when i try to generate get this error
File "D:\Apps\sd-webui\extensions\deforum\scripts\deforum.py", line 62, in run from scripts.deforum.render import render_animation, render_input_video File "D:\Apps\sd-webui\extensions\deforum\scripts\deforum\render.py", line 13, in
from .generate import generate, add_noise
File "D:\Apps\sd-webui\extensions\deforum\scripts\deforum\generate.py", line 23, in
from .animation import sample_from_cv2, sample_to_cv2
File "D:\Apps\sd-webui\extensions\deforum\scripts\deforum\animation.py", line 5, in
import py3d_tools as p3d
ModuleNotFoundError: No module named 'py3d_tools'