guelfoweb / knock

Knock Subdomain Scan
GNU General Public License v3.0
3.76k stars 848 forks source link

cant load modules ... #42

Open statix83 opened 6 years ago

statix83 commented 6 years ago

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 commented 6 years ago

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

thiru112 commented 6 years ago

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 commented 4 years ago

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

slayer321 commented 3 years ago

ModuleNotFoundError: No module named 'modules'

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

jagskap commented 3 years ago

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 commented 8 months ago

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 commented 2 months ago

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)

Ravikumararvi commented 4 weeks ago

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

Hey