Skip to content

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

@liminalcommons

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions