kotaemon icon indicating copy to clipboard operation
kotaemon copied to clipboard

[BUG] - <Error while finding module specification for 'graphrag.index'>

Open jarodttt opened this issue 1 year ago • 7 comments

Description

during indexing Graph, kotaemon/install_dir/env/bin/python: Error while finding module specification for 'graphrag.index' (ModuleNotFoundError: No module named 'graphrag') len(results)=2, len(file_list)=2 len(results)=1, len(file_list)=1

tried to install graphrag in env, but crashed after restart cannot find graphrag form "kotaemon/install_dir/env/bin/pip list "

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

Browsers

Chrome

OS

MacOS

Additional information

No response

jarodttt avatar Sep 02 '24 21:09 jarodttt

Ha! I was just investigating this as well - Windows environment, but same issue.

Graphrag was not installed, so I installed it within my environment, but after restarting and then attempting to import docs into a graph collection, the console outputs C:\Program Files\Python310\python.exe: Error while finding module specification for 'graphrag.index' (ModuleNotFoundError: No module named 'graphrag')

mferris77 avatar Sep 02 '24 21:09 mferris77

having the same issue on mac

Error while finding module specification for 'graphrag.index' (ModuleNotFoundError: No module named 'graphrag')
len(results)=5, len(file_list)=5

alonhartal avatar Sep 03 '24 13:09 alonhartal

Same here

envs/kotaemon/bin/python: Error while finding module specification for 'graphrag.index' (ModuleNotFoundError: No module named 'graphrag')

stelukutla avatar Sep 03 '24 17:09 stelukutla

Noted. Will check if this issue is reproducible on our end.

taprosoft avatar Sep 04 '24 13:09 taprosoft

win os , same issue , after install to launch

it says : GraphRAG dependencies not installed. GraphRAG retriever pipeline will not work properly.

later try to index gragph: C:\Users\LLM\kotaemon-app\kotaemon-app\install_dir\env\python.exe: Error while finding module specification for 'graphrag.index' (ModuleNotFoundError: No module named 'graphrag')

kksasa avatar Sep 10 '24 00:09 kksasa

I'm having the same issue on Mac. Error while finding module specification for 'graphrag.index' (ModuleNotFoundError: No module named 'graphrag')

BradleyLathan avatar Sep 26 '24 19:09 BradleyLathan

I have the same issue while trying ti initialize Graphrag

varinderpalsinghmalhi avatar Nov 08 '24 16:11 varinderpalsinghmalhi