-
Notifications
You must be signed in to change notification settings - Fork 866
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
Error importing dns_socket #122
Comments
Hi @gorums, what operating system are you using? |
Hi @gorums, if you run knockpy from the folder, you should execute it from the "knock" folder because it looks for dns_socket module in this folder. cd /app/knock/ |
On windows 11 (PowerShell) works fine. Getting the same error on wsl2 (Kali) as mentioned above, though. Is there a way to run it on wsl2? |
I have been looking for a solution to the problem for a long time, but the solution turned out to be so simple... thank you |
Traceback (most recent call last):
File "/app/knock/knockpy/knockpy.py", line 11, in
from . import dns_socket
ImportError: attempted relative import with no known parent package
The text was updated successfully, but these errors were encountered: