-
Notifications
You must be signed in to change notification settings - Fork 15
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
ModuleNotFoundError: No module named 'inference_core_nodes' #16
Comments
Same Problem File "J:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes_init_.py", line 1, in Cannot import J:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes module for custom nodes: No module named 'inference_core_nodes' |
I tried to change the first row in init.py:
but get another error: ModuleNotFoundError: No module named 'diffusers.models.unets' and then the errors gone when I upgrade diffusers from 0.25 to 0.27.2 |
@foxmale007 well, I've done with your trying aka fix init. |
same problem |
Same issue |
As readme ,try to install node by |
tried all the approaches above but still get modulenotfound error |
I can do it for the portable version but when it's the non-portable version it become like this:
|
SAME here
|
Before running install.py, may install fllit-core first. In portable version, |
thanks for your response , I've already tried this approach, but it hasn't been successful and the issue remains.😞 |
我发现很多伙伴是没把解决这个问题的步骤看清楚。 首先造成这个错误的原因: 接着我们来解决: 1,打开你电脑的cmd窗口。 ok。 EN: First of all, the cause of this error: Then let's solve it: 1, open the cmd window of your computer. OK. Translated with DeepL.com ,my EN is so pure! |
ERROR: Package 'inference-core-nodes' requires a different Python: 3.12.3 not in '<3.12,>=3.10' |
Ok I finally solved this issue. This is merge from another solution but with a final resolution. Someone Else I tried to change the first row in init.py: from .src.inference_core_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS but get another error: ModuleNotFoundError: No module named 'diffusers.models.unets' My resolution* Open \pathto\ComfyUI\venv\Scripts in cmd. use these commands: Launch comfyui. For me I did this for Stability Matrix's install of comfyui which I suspect has some bugs. I needed this for ControlNet to stop giving me an error in the inference tab of Stability Matrix. This fixed all of that. |
I was able to solve the problem by reinstalling the ComfyUI-Inference-Core-Nodes extension. |
Prestartup times for custom nodes:
0.6 seconds: L:\Comfyui\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager
Total VRAM 24564 MB, total RAM 32529 MB
xformers version: 0.0.25.post1
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3090 Ti : cudaMallocAsync
VAE dtype: torch.bfloat16
Using xformers cross attention
Traceback (most recent call last):
File "L:\Comfyui\ComfyUI\ComfyUI\nodes.py", line 1866, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "L:\Comfyui\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes_init.py", line 1, in
from inference_core_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
ModuleNotFoundError: No module named 'inference_core_nodes'
The text was updated successfully, but these errors were encountered: