gpt4 book ai didi

python - 在 python 3.4 上寻找 pcap 模块

转载 作者:行者123 更新时间:2023-11-28 19:20:25 24 4
gpt4 key购买 nike

我正在寻找适用于 python 3.4 和 linux 的 pcap 模块或包装器。如果它也适用于 win32 就太好了。

如有任何建议,我将不胜感激。

最佳答案

Pyshark ( http://kiminewt.github.io/pyshark/ ) 适用于 python 3.4。它安装有

pip3 安装 pyshark

它依赖于 lxml,它可能不容易安装(参见这个问题 can't installing lxml on Ubuntu 12.04)。

关于python - 在 python 3.4 上寻找 pcap 模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26490065/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com