Skip to content

Import Failed #142

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

Open
Silverseppel opened this issue Feb 2, 2025 · 3 comments
Open

Import Failed #142

Silverseppel opened this issue Feb 2, 2025 · 3 comments

Comments

@Silverseppel
Copy link

Hi, the import of IF_AI_tools failed with tis error.

Error message occurred while importing the 'ComfyUI-IF_AI_tools' module.

Traceback (most recent call last):
File "E:\ComfyUI\ComfyUI\nodes.py", line 2110, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 995, in exec_module
File "", line 488, in call_with_frames_removed
File "E:\ComfyUI\ComfyUI\custom_nodes\comfyui-if_ai_tools_init
.py", line 9, in
from .IFChatPromptNode import IFChatPrompt
File "E:\ComfyUI\ComfyUI\custom_nodes\comfyui-if_ai_tools\IFChatPromptNode.py", line 25, in
from .graphRAG_module import GraphRAGapp
File "E:\ComfyUI\ComfyUI\custom_nodes\comfyui-if_ai_tools\graphRAG_module.py", line 23, in
from nano_graphrag.graphrag import GraphRAG, QueryParam
ModuleNotFoundError: No module named 'nano_graphrag'

I have tested all possible fixes of the last few weeks and none of them have worked.
I am grateful for any help.

@nyukers
Copy link

nyukers commented Feb 11, 2025

Traceback (most recent call last):
File "d:\SDComfyUI\ComfyUI\nodes.py", line 2113, 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 "D:\SDComfyUI\ComfyUI\custom_nodes\comfyui-if_ai_tools_init
.py", line 9, in
from .IFChatPromptNode import IFChatPrompt
File "D:\SDComfyUI\ComfyUI\custom_nodes\comfyui-if_ai_tools\IFChatPromptNode.py", line 25, in
from .graphRAG_module import GraphRAGapp
File "D:\SDComfyUI\ComfyUI\custom_nodes\comfyui-if_ai_tools\graphRAG_module.py", line 23, in
from nano_graphrag.graphrag import GraphRAG, QueryParam
File "d:\SDComfyUI\python_embeded\lib\site-packages\nano_graphrag_init_.py", line 1, in
from .graphrag import GraphRAG, QueryParam
File "d:\SDComfyUI\python_embeded\lib\site-packages\nano_graphrag\graphrag.py", line 28, in
from .storage import (
File "d:\SDComfyUI\python_embeded\lib\site-packages\nano_graphrag_storage_init
.py", line 3, in
from .vdb_hnswlib import HNSWVectorStorage
File "d:\SDComfyUI\python_embeded\lib\site-packages\nano_graphrag_storage\vdb_hnswlib.py", line 6, in
import hnswlib
ImportError: DLL load failed while importing hnswlib: The specified module could not be found.

What kind of DLL is he looking for?

@henry19801109
Copy link

Hi, the import of IF_AI_tools failed with tis error.

Error message occurred while importing the 'ComfyUI-IF_AI_tools' module.

Traceback (most recent call last): File "E:\ComfyUI\ComfyUI\nodes.py", line 2110, in load_custom_node module_spec.loader.exec_module(module) File "", line 995, in exec_module File "", line 488, in call_with_frames_removed File "E:\ComfyUI\ComfyUI\custom_nodes\comfyui-if_ai_tools__init_.py", line 9, in from .IFChatPromptNode import IFChatPrompt File "E:\ComfyUI\ComfyUI\custom_nodes\comfyui-if_ai_tools\IFChatPromptNode.py", line 25, in from .graphRAG_module import GraphRAGapp File "E:\ComfyUI\ComfyUI\custom_nodes\comfyui-if_ai_tools\graphRAG_module.py", line 23, in from nano_graphrag.graphrag import GraphRAG, QueryParam ModuleNotFoundError: No module named 'nano_graphrag'

I have tested all possible fixes of the last few weeks and none of them have worked. I am grateful for any help.

我也是出现这个问题,一直没有解决。。(I also encountered this issue and it remains unresolved.)

@nyukers
Copy link

nyukers commented Feb 21, 2025

I removed IF_AI_tools and installed IF_LLM pack. It's working.

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

3 participants