Closed satyaprakash1729 closed 4 months ago
Hi @satyaprakash1729 To use GraphRAG the minimmal Python version is 3.10. Please upgrade your python version and retry :)
I'm using 3.10.13 and getting the same error:
$ python -m graphrag.index --init --root ./ragtest
/$ROOT/.venv/bin/python: No module named graphrag.index
Ok found the workaround. When I'm using pipenv
, somehow by default it is trying to install graphrag@0.0.0
, which is empty. I had to fix the graphrag version:
# Wrong: will install 0.0.0
pipenv install graphrag
# Ok
pipenv install graphrag==0.1.1
Interesting... I'll double check pypi! Thanks for updating!
I'm still No module named graphrag.index
, Anyone knows how to fix this ?
Versions:
Python 3.12.4
graphrag 0.2.0
I'm still
No module named graphrag.index
, Anyone knows how to fix this ?Versions:
Python 3.12.4 graphrag 0.2.0
I found the problem. I use conda
envs , but I used global pip
installed graphrag, so python -m pip install <package>
can solved.
Describe the issue
I'm following the documentation specified at https://microsoft.github.io/graphrag/posts/get_started/ I'm getting below error when I try to run
python -m graphrag.index --init --root ./ragtest
/home//.pyenv/versions/3.9.14/bin/python: No module named graphrag.index
I'm using Ubuntu
Steps to reproduce
No response
GraphRAG Config Used
No response
Logs and screenshots
No response
Additional Information