Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/296.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为什么可以';我不能和斯卡皮一起送包吗?(python 2.7)_Python_Send_Scapy_Packets - Fatal编程技术网

为什么可以';我不能和斯卡皮一起送包吗?(python 2.7)

为什么可以';我不能和斯卡皮一起送包吗?(python 2.7),python,send,scapy,packets,Python,Send,Scapy,Packets,每次尝试发送数据包时都会出现此错误: File "D:\Python27\lib\site-packages\scapy\sendrecv.py", line 251, in send __gen_send(conf.L3socket(*args, **kargs), x, inter=inter, loop=loop, count=count,verbose=verbose, realtime=realtime) File "D:\Python27\lib\site-packa

每次尝试发送数据包时都会出现此错误:

  File "D:\Python27\lib\site-packages\scapy\sendrecv.py", line 251, in send
    __gen_send(conf.L3socket(*args, **kargs), x, inter=inter, loop=loop, count=count,verbose=verbose, realtime=realtime)
  File "D:\Python27\lib\site-packages\scapy\sendrecv.py", line 234, in __gen_send
    s.send(p)
  File "D:\Python27\lib\site-packages\scapy\arch\pcapdnet.py", line 237, in send
    ifs = dnet.eth(iff)
  File "dnet.pyx", line 112, in dnet.eth.__init__ (./dnet.c:1764)
OSError: No error

有什么问题?我该怎么办?

根据我的个人经验,你应该用有线电缆而不是无线电缆连接到互联网。我也犯了那个错误