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

where is the component'rest'? #91

Open
stoveZhu opened this issue Dec 4, 2024 · 0 comments
Open

where is the component'rest'? #91

stoveZhu opened this issue Dec 4, 2024 · 0 comments

Comments

@stoveZhu
Copy link

stoveZhu commented Dec 4, 2024

i'm learning how to use the kag with the example 'medicine'. i tried to run the evaForMedicine.py but got error below

Traceback (most recent call last):
  File "d:\work_projects\kag\KAG-master\kag\examples\medicine\solver\evaForMedicine.py", line 5, in <module>
    from kag.solver.logic.solver_pipeline import SolverPipeline
  File "d:\work_projects\kag\kag-master\kag\solver\logic\solver_pipeline.py", line 4, in <module>
    from kag.interface.solver.kag_reasoner_abc import KagReasonerABC
  File "d:\work_projects\kag\kag-master\kag\interface\solver\kag_reasoner_abc.py", line 6, in <module>
    from kag.solver.logic.core_modules.lf_solver import LFSolver
  File "d:\work_projects\kag\kag-master\kag\solver\logic\core_modules\lf_solver.py", line 15, in <module>
    from kag.solver.logic.core_modules.lf_executor import LogicExecutor
  File "d:\work_projects\kag\kag-master\kag\solver\logic\core_modules\lf_executor.py", line 6, in <module>
    from kag.common.graphstore.graph_store import GraphStore
  File "d:\work_projects\kag\kag-master\kag\common\graphstore\__init__.py", line 30, in <module>
    from kag.common.graphstore.rest.graph_api import GraphApi
  File "d:\work_projects\kag\kag-master\kag\common\graphstore\rest\__init__.py", line 30, in <module>
    from kag.common.graphstore.rest.graph_api import GraphApi
  File "d:\work_projects\kag\kag-master\kag\common\graphstore\rest\graph_api.py", line 20, in <module>
    from kag.common.rest.api_client import ApiClient
ModuleNotFoundError: No module named 'kag.common.rest'

is that kag.common.resthas been deleted some versions ago?

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

1 participant