Python scapy import error

前端 未结 8 819
小蘑菇
小蘑菇 2021-01-17 14:38

If I include following line in my python source file

from scapy.all import *

I get this error

from scapy.all import *
Impor         


        
8条回答
  •  一整个雨季
    2021-01-17 14:57

    I think this may be a problem with your version:

    If you are using Scapy v1.X:

    from scapy import *
    

    Otherwise, with Scapy V2.X+

    from scapy.all import *
    

    Is the way to go.

    Hope that helps!

提交回复
热议问题