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

ValueError: Attempted relative import in non-package #10

Open
SpencerNorris opened this issue Aug 4, 2017 · 0 comments
Open

ValueError: Attempted relative import in non-package #10

SpencerNorris opened this issue Aug 4, 2017 · 0 comments

Comments

@SpencerNorris
Copy link

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
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