0
I’m trying to mess with Scapy but when I try to use him
from scapy.all import this error appears.
from scapy.all import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Lucas\AppData\Local\Programs\Python\Python36\lib\site-packages\scapy\all.py", line 16, in <module>
from .arch import *
File "C:\Users\Lucas\AppData\Local\Programs\Python\Python36\lib\site-packages\scapy\arch\__init__.py", line 95, in <module>
from .windows import *
File "C:\Users\Lucas\AppData\Local\Programs\Python\Python36\lib\site-packages\scapy\arch\windows\__init__.py", line 23, in <module>
from scapy.arch import pcapdnet
File "C:\Users\Lucas\AppData\Local\Programs\Python\Python36\lib\site-packages\scapy\arch\pcapdnet.py", line 32, in <module>
from .winpcapy import *
File "C:\Users\Lucas\AppData\Local\Programs\Python\Python36\lib\site-packages\scapy\arch\winpcapy.py", line 26, in <module>
_lib=CDLL('wpcap.dll')
File "C:\Users\Lucas\AppData\Local\Programs\Python\Python36\lib\ctypes\__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] Não foi possível encontrar o módulo especificado
You own the package
scapyinstalled? If so, how did you install it? How did you make sure it is installed? In fact, there is the character*afterimport?– Woss
I installed the
scapythrough windows prompt and shell when I giveimport scapyit matters without mistakes but when thescapy.allhe will not be seeing this command through a python course and he uses this function normally.– Lucas Chaves
I installed Scapy here and it seems to me that he doesn’t have a module called
all. Are you sure that’s the name?– Woss
So when it uses the command it works normally. as in print (http://prntscr.com/fbsakb)
– Lucas Chaves
Strange that here the module
allis not installed doing this way. You ran the program with Python 3 as well?– Woss
Now you recognize the module
allafter I installed the Winpcap– Woss
A friend said that the windows gave error so I did Dual Boot and used Mint ai worked normally. And yes was using python 3 !!
– Lucas Chaves