[BUG] - <Error while finding module specification for 'graphrag.index'>
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

Logs
No response
Browsers
Chrome
OS
MacOS
Additional information
No response
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')
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
Same here
envs/kotaemon/bin/python: Error while finding module specification for 'graphrag.index' (ModuleNotFoundError: No module named 'graphrag')
Noted. Will check if this issue is reproducible on our end.
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')
I'm having the same issue on Mac. Error while finding module specification for 'graphrag.index' (ModuleNotFoundError: No module named 'graphrag')
I have the same issue while trying ti initialize Graphrag