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

cant load modules ... #42

Open
statix83 opened this issue Nov 2, 2017 · 7 comments
Open

cant load modules ... #42

statix83 opened this issue Nov 2, 2017 · 7 comments

Comments

@statix83
Copy link

statix83 commented Nov 2, 2017

Traceback (most recent call last):
File "C:\Python36\Scripts\knock-4.1\knockpy\knockpy.py", line 6, in
from modules import resolve
File "C:\Python36\Scripts\knock-4.1\knockpy\modules\resolve.py", line 2, in
import header
ModuleNotFoundError: No module named 'header'

But there is a header.py in the module folder...

@wisprp
Copy link

wisprp commented Nov 4, 2017

statix83, what shell you are using to run the script?
Check your PATH and PYTHONPATH variables

@thiru112
Copy link

sudo python setup.py install
Traceback (most recent call last):
File "setup.py", line 21, in
from setuptools import setup
ImportError: No module named setuptools

how to install this its shows error while installing

@abe-source
Copy link

run sudo apt-get install -y python-setuptools and then try again

@slayer321
Copy link

ModuleNotFoundError: No module named 'modules'

getting this error once I'm running this command
knockpy -h

@jagskap
Copy link

jagskap commented Mar 2, 2021

Traceback (most recent call last):
File "C:\Python36\Scripts\knock-4.1\knockpy\knockpy.py", line 6, in
from modules import resolve
File "C:\Python36\Scripts\knock-4.1\knockpy\modules\resolve.py", line 2, in
import header
ModuleNotFoundError: No module named 'header'

But there is a header.py in the module folder...

Replacing "import header" with "from modules import header" will work. #71

@Quantum-code72
Copy link

Traceback (most recent call last):
File "/opt/knock/knockpy/knockpy.py", line 7, in
from knockpy.lib import output, request, wordlists, report, scan, extraargs, logo
File "/opt/knock/knockpy/knockpy.py", line 7, in
from knockpy.lib import output, request, wordlists, report, scan, extraargs, logo
ModuleNotFoundError: No module named 'knockpy.lib'; 'knockpy' is not a package

I'm getting this error

@itsmetherb
Copy link

File "/home/callmerb/hack/tools/knock/knockpy.py", line 7, in
from knockpy import knockpy
ImportError: cannot import name 'knockpy' from partially initialized module 'knockpy' (most likely due to a circular import) (/home/callmerb/hack/tools/knock/knockpy.py)

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

8 participants