Skip to content

ImportError: attempted relative import with no known parent package #3

Description

@liminalcommons

PS C:\Users\victorpiper\code\PathRAG> & c:/Users/victorpiper/code/PathRAG/.venv/Scripts/python.exe c:/Users/victorpiper/code/PathRAG/PathRAG/v1_test.py
Traceback (most recent call last):
File "c:\Users\victorpiper\code\PathRAG\PathRAG\v1_test.py", line 2, in
from PathRAG import PathRAG, QueryParam
File "c:\Users\victorpiper\code\PathRAG\PathRAG\PathRAG.py", line 10, in
from .llm import (
ImportError: attempted relative import with no known parent package

python 3.10.9

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions