Code Monkey home page Code Monkey logo

Comments (8)

Leonerli2 avatar Leonerli2 commented on June 23, 2024 1

I have the same problem and it seems like some people are having it too in the last few hours. So maybe it's a general problem.
For me the import always fails on startup:
“0.0 seconds (IMPORT FAILED): D:\Confyui2\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-inpaint-nodes”
I reinstalled everything from scratch, including confyui, installed only the necessary costom nodes and checked the path for the models/inpaint forlder. But this is still the only error I get, so now I'm kinda out of ideas.
image

from comfyui-inpaint-nodes.

Acly avatar Acly commented on June 23, 2024
  1. Make sure to run the latest version of ComfyUI
  2. Please check ComfyUI output if the nodes were loaded, and report the error message if they were not.

from comfyui-inpaint-nodes.

Acly avatar Acly commented on June 23, 2024

Yes the recent updates need to match between ComfyUI and theses nodes, so lots of people running into this.

But I really need to see the error message (from ComfyUI console output) to help. It should be somewhere above the (IMPORT FAILED) message.

from comfyui-inpaint-nodes.

LiuGe126 avatar LiuGe126 commented on June 23, 2024

查看错误消息(来自ComfyUI控制台输出)来提

I have confirmed that my version of confyui is the latest, and the node "inpaint nodes" seems to fail to load. This is my startup log, please check it.
comfyui.log

from comfyui-inpaint-nodes.

Acly avatar Acly commented on June 23, 2024

The relevant error is:

ModuleNotFoundError: No module named 'spandrel'
Cannot import D:\AI\ComfyUI\ComfyUI_portbale\ComfyUI\custom_nodes\comfyui-inpaint-nodes-main module for custom nodes: No module named 'spandrel'

Solution:

pip install spandrel

I have confirmed that my version of confyui is the latest

That's strange, because latest version of ComfyUI already requires spandrel, yet you don't have it installed.

from comfyui-inpaint-nodes.

LiuGe126 avatar LiuGe126 commented on June 23, 2024

The relevant error is:

ModuleNotFoundError: No module named 'spandrel'
Cannot import D:\AI\ComfyUI\ComfyUI_portbale\ComfyUI\custom_nodes\comfyui-inpaint-nodes-main module for custom nodes: No module named 'spandrel'

Solution:

pip install spandrel

I have confirmed that my version of confyui is the latest

That's strange, because latest version of ComfyUI already requires spandrel, yet you don't have it installed.

Sorry, I still don't know how to solve this problem. Can you explain it in more detail, or do you have a link or steps to a solution,thanks

from comfyui-inpaint-nodes.

Leonerli2 avatar Leonerli2 commented on June 23, 2024

Thank you, this solves the problem. But be sure to install it to the right python version (the python embedded in confyui by setting the right path). I needed to install pip aswell for that python version. The whole confusion for me was because I have the exact same python version installed on my system and didnt notice that there was another version for confyui.

from comfyui-inpaint-nodes.

LiuGe126 avatar LiuGe126 commented on June 23, 2024

I have found a solution, if there are other users encountered this problem, and you do not have a python foundation, you can refer to this video.https://www.bilibili.com/video/BV1Ub42187ny/?spm_id_from=333.337.search-card.all.click&vd_source=8f0cc45d1e9941f692d94252e7511a9b

from comfyui-inpaint-nodes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.