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

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

Closed
1 task done
hoochiemama opened this issue Jul 7, 2024 · 3 comments
Closed
1 task done

Comments

@hoochiemama
Copy link

Installation method

PyPI (via pip)

Description

After a git pull, attempted to run a query.

Steps to reproduce

python3 sherlock.py username

Additional information

Gerneates this error. This occured after updating the code.

Traceback (most recent call last):
File "/home/user1/tools/sherlock/sherlock/sherlock.py", line 27, in
from .init import ( # noqa: E402
ImportError: attempted relative import with no known parent package

Code of Conduct

  • I agree to follow this project's Code of Conduct
@hoochiemama hoochiemama added the bug Something isn't working label Jul 7, 2024
@hoochiemama
Copy link
Author

hoochiemama commented Jul 7, 2024

I'm a Python newbie, so if this is something obvious, I apologize in advance.

@ppfeister
Copy link
Member

Installation via PyPI (your selected method) doesn't require a clone. After running pipx install sherlock-project you can just run sherlock user123.

Running with python3 sherlock ... is no longer supported OOTB.

Let me know how it goes.

@ppfeister ppfeister removed the bug Something isn't working label Jul 7, 2024
@hoochiemama
Copy link
Author

All good here now! Thanks!

@ppfeister ppfeister closed this as not planned Won't fix, can't repro, duplicate, stale Jul 8, 2024
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

2 participants