Error from scapy.all import *

Asked

Viewed 284 times

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 scapy installed? If so, how did you install it? How did you make sure it is installed? In fact, there is the character * after import?

  • I installed the scapy through windows prompt and shell when I give import scapy it matters without mistakes but when the scapy.all he will not be seeing this command through a python course and he uses this function normally.

  • 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?

  • So when it uses the command it works normally. as in print (http://prntscr.com/fbsakb)

  • Strange that here the module all is not installed doing this way. You ran the program with Python 3 as well?

  • Now you recognize the module all after I installed the Winpcap

  • 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 !!

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.