omarrajab / NoJlede

The Advanced Automated Pentesting And Forensics Tool
MIT License
26 stars 7 forks source link

Scapy importing #1

Open Ahmad-Chebbo opened 4 years ago

Ahmad-Chebbo commented 4 years ago

~/Desktop/NoJlede# python3 NoJlede.py

Traceback (most recent call last): File "NoJlede.py", line 6, in from scapy.all import * ModuleNotFoundError: No module named 'scapy'

how can i solve this issue ? i try to change the path of scapy into the python3 os.sys.path but also it's not working .

omarrajab commented 4 years ago

Hello, Thank you for reporting this issue. You must install Scapy module Using pip Lunch the terminal type #pip install scapy.

Best Regards, Omar Rajab.

On Sun, Oct 13, 2019, 1:49 PM InfernoX0 notifications@github.com wrote:

~/Desktop/NoJlede# python3 NoJlede.py

Traceback (most recent call last): File "NoJlede.py", line 6, in from scapy.all import * ModuleNotFoundError: No module named 'scapy'

how can i solve this issue ? i try to change the path of scappy into the python3 os.sys.path but also it's not working .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/omarrajab/NoJlede/issues/1?email_source=notifications&email_token=AHIVCWSTAEDNTBLT22X3OCLQOL4LTA5CNFSM4JAGOJGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRNUELQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHIVCWWGYK452LI5XBWREDDQOL4LTANCNFSM4JAGOJGA .

omarrajab commented 4 years ago

Hello, I've Solved the issue on another computer ,python3 is required you must download the following libraries for python3 : scapy and geocoder

pip3 install scapy

pip3 install geocoder

Naushad007 commented 3 years ago

Hi Omar [Salaam] Please check the error bellow, everything satisfied but i'm still getting error, hope you can help me... JZK

user123@host:~/NoJlede$ pwd /home/user123/NoJlede user123@host:~/NoJlede$ user123@host:~/NoJlede$ user123@host:~/NoJlede$ user123@host:~/NoJlede$ user123@host:~/NoJlede$ sudo pip3 install geocoder Requirement already satisfied: geocoder in /usr/local/lib/python3.9/dist-packages (1.38.1) Requirement already satisfied: click in /usr/lib/python3/dist-packages (from geocoder) (7.1.2) Requirement already satisfied: future in /usr/lib/python3/dist-packages (from geocoder) (0.18.2) Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from geocoder) (2.24.0) Requirement already satisfied: six in /usr/lib/python3/dist-packages (from geocoder) (1.15.0) Requirement already satisfied: ratelim in /usr/local/lib/python3.9/dist-packages (from geocoder) (0.1.6) Requirement already satisfied: decorator in /usr/lib/python3/dist-packages (from ratelim->geocoder) (4.4.2) user123@host:~/NoJlede$ user123@host:~/NoJlede$ user123@host:~/NoJlede$ sudo pip3 install scapy Requirement already satisfied: scapy in /usr/lib/python3/dist-packages (2.4.4) user123@host:~/NoJlede$ user123@host:~/NoJlede$ user123@host:~/NoJlede$ sudo python3 ./NoJlede.py Traceback (most recent call last): File "/home/user123/NoJlede/./NoJlede.py", line 6, in from scapy.all import File "/usr/lib/python3/dist-packages/scapy/all.py", line 16, in from scapy.arch import File "/usr/lib/python3/dist-packages/scapy/arch/init.py", line 27, in from scapy.arch.bpf.core import get_if_raw_addr File "/usr/lib/python3/dist-packages/scapy/arch/bpf/core.py", line 30, in LIBC = cdll.LoadLibrary(find_library("libc")) File "/usr/lib/python3.9/ctypes/util.py", line 341, in find_library _get_soname(_findLib_gcc(name)) or _get_soname(_findLib_ld(name)) File "/usr/lib/python3.9/ctypes/util.py", line 147, in _findLib_gcc if not _is_elf(file): File "/usr/lib/python3.9/ctypes/util.py", line 99, in _is_elf with open(filename, 'br') as thefile: FileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a' user123@host:~/NoJlede$ user123@host:~/NoJlede$ user123@host:~/NoJlede$ user123@host:~/NoJlede$