Skip to content

ValueError: Attempted relative import in non-package #10

Description

@SpencerNorris

Fixed by changing from . import iterparse_filter to import iterparse_filter in setlr/__init__.py.

Full trace:

Traceback (most recent call last):
  File "setlr/__init__.py", line 21, in <module>
    from . import iterparse_filter
ValueError: Attempted relative import in non-package

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