Skip to content
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

Fails to build knowledge graph. #76

Open
dudezilla opened this issue Oct 19, 2024 · 2 comments
Open

Fails to build knowledge graph. #76

dudezilla opened this issue Oct 19, 2024 · 2 comments

Comments

@dudezilla
Copy link

tried flailing around with the root directory, in case your domunetation is autogenerated.

(graphrag-ollama-local) PS C:\Users\spete\grahollama\graphrag-local-ollama\ragtest> python -m graphrag.index --init --root ./
Traceback (most recent call last):
File "C:\Users\spete\anaconda3\envs\graphrag-ollama-local\lib\runpy.py", line 187, in run_module_as_main
mod_name, mod_spec, code = get_module_details(mod_name, Error)
File "C:\Users\spete\anaconda3\envs\graphrag-ollama-local\lib\runpy.py", line 146, in get_module_details
return get_module_details(pkg_main_name, error)
File "C:\Users\spete\anaconda3\envs\graphrag-ollama-local\lib\runpy.py", line 110, in get_module_details
import(pkg_name)
File "C:\Users\spete\grahollama\graphrag-local-ollama\graphrag\index_init
.py", line 40, in
from .run import run_pipeline, run_pipeline_with_config
File "C:\Users\spete\grahollama\graphrag-local-ollama\graphrag\index\run.py", line 59, in
from .verbs import * # noqa
File "C:\Users\spete\grahollama\graphrag-local-ollama\graphrag\index\verbs_init
.py", line 9, in
from .graph import (
File "C:\Users\spete\grahollama\graphrag-local-ollama\graphrag\index\verbs\graph_init.py", line 10, in
from .layout import layout_graph
File "C:\Users\spete\grahollama\graphrag-local-ollama\graphrag\index\verbs\graph\layout_init.py", line 6, in
from .layout_graph import layout_graph
File "C:\Users\spete\grahollama\graphrag-local-ollama\graphrag\index\verbs\graph\layout\layout_graph.py", line 13, in
from graphrag.index.graph.visualization import GraphLayout
File "C:\Users\spete\grahollama\graphrag-local-ollama\graphrag\index\graph\visualization_init.py", line 6, in
from .compute_umap_positions import compute_umap_positions, get_zero_positions
File "C:\Users\spete\grahollama\graphrag-local-ollama\graphrag\index\graph\visualization\compute_umap_positions.py", line 6, in
import graspologic as gc
File "C:\Users\spete\anaconda3\envs\graphrag-ollama-local\lib\site-packages\graspologic_init.py", line 8, in
import graspologic.inference
File "C:\Users\spete\anaconda3\envs\graphrag-ollama-local\lib\site-packages\graspologic\inference_init_.py", line 6, in
from .latent_distribution_test import latent_distribution_test
File "C:\Users\spete\anaconda3\envs\graphrag-ollama-local\lib\site-packages\graspologic\inference\latent_distribution_test.py", line 7, in
from hyppo.ksample import KSample
File "C:\Users\spete\anaconda3\envs\graphrag-ollama-local\lib\site-packages\hyppo_init_.py", line 5, in
import hyppo.kgof
File "C:\Users\spete\anaconda3\envs\graphrag-ollama-local\lib\site-packages\hyppo\kgof_init_.py", line 2, in
from .fssd import FSSD, FSSDH0SimCovObs
File "C:\Users\spete\anaconda3\envs\graphrag-ollama-local\lib\site-packages\hyppo\kgof\fssd.py", line 4, in
from past.utils import old_div
ModuleNotFoundError: No module named 'past'

@Frdoe
Copy link

Frdoe commented Oct 20, 2024

pip install future solved it for me.

@dudezilla
Copy link
Author

thanks.

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

2 participants