Unresolved reference with scapy

前端 未结 2 952
一整个雨季
一整个雨季 2020-12-03 22:29

I am working on a network tool that I write in python using scapy.
As IDE I am using Pycharm.
My Code works. So if I run it, everything works just as intended.

2条回答
  •  渐次进展
    2020-12-03 23:23

    Had the same issue, try importing this way:

    from scapy.layers.inet import IP, UDP, wrpcap, Ether
    

    it worked for me.

提交回复
热议问题