Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Failed #9

Open
drewmolleur opened this issue Dec 28, 2023 · 8 comments
Open

Import Failed #9

drewmolleur opened this issue Dec 28, 2023 · 8 comments

Comments

@drewmolleur
Copy link

drewmolleur commented Dec 28, 2023

Hello! This was working fine until recently. I've tried moving all nodes out of my custom nodes folder except Essentials and it still won't import after restarting.

I've even deleted and tried reinstalling from scratch. Please help! Thanks in advance! :-)

Screenshot 2023-12-28 at 3 23 43 PM

@Syndulla
Copy link

Same issue here.

@cubiq
Copy link
Owner

cubiq commented Dec 29, 2023

You probably need to update comfyui

@drewmolleur
Copy link
Author

That was the first thing I tried.

Screenshot 2023-12-29 at 9 30 31 AM
Screenshot 2023-12-29 at 9 30 39 AM
Screenshot 2023-12-29 at 9 30 44 AM

@fine4546
Copy link

fine4546 commented Jan 5, 2024

Traceback (most recent call last):
File "/raid/ComfyUI/nodes.py", line 1810, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/raid/ComfyUI/custom_nodes/ComfyUI_essentials/init.py", line 1, in
from .essentials import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "/raid/ComfyUI/custom_nodes/ComfyUI_essentials/essentials.py", line 12, in
import torchvision.transforms.v2 as T
ModuleNotFoundError: No module named 'torchvision.transforms.v2'

didnot Found torchvision.transforms.v2 please version checkingggggg

@drewmolleur
Copy link
Author

@fine4546 - this is perhaps a separate issues. What machine are you running this on? I'm on a m1 Mac.

@fine4546
Copy link

fine4546 commented Jan 6, 2024

same import error, i could not import,
Detailed error content

@cubiq
Copy link
Owner

cubiq commented Jan 6, 2024

update comfy dependencies

@tutnyal
Copy link

tutnyal commented Feb 8, 2024

After updating all comfy failed. I updated my Anaconda environment and it worked! conda update --all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants