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

Latest pull 0.14.4 exits with error. #2168

Closed
1 task done
radiophonic opened this issue Jun 11, 2024 · 2 comments
Closed
1 task done

Latest pull 0.14.4 exits with error. #2168

radiophonic opened this issue Jun 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@radiophonic
Copy link

Installation method

Built from source

Description

I normally run this from source and it's been working for well over a year now. However the latest pull exits with the following error:

Traceback (most recent call last):
  File "/home/sint/Tools/osint/sherlock/sherlock/sherlock.py", line 28, in <module>
    from .__init__ import ( # noqa: E402
ImportError: attempted relative import with no known parent package

Any suggestions would be great, thanks.

Steps to reproduce

start using python: python3 sherlock.py someusername

Additional information

Linux Mint 21.3, Python 3.10.12

Code of Conduct

  • I agree to follow this project's Code of Conduct
@radiophonic radiophonic added the bug Something isn't working label Jun 11, 2024
@ppfeister
Copy link
Member

Sherlock is moving towards being a proper installable and importable package rather than just a standalone script.

This allows for pip install sherlock-project from PyPI or pip install . from source, before simply sherlock {...} from anywhere. Normally, you're also able to run python3 -m sherlock {...} to run straight from source, but I'll have to validate that later to make sure that the relative imports are correct.

@radiophonic
Copy link
Author

Sounds good. Thanks for the follow up and have a good one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants