系统相关
首页 > 系统相关> > centos7 安装python-libpcap

centos7 安装python-libpcap

作者:互联网

1.安装依赖

yum install libpcap  libpcap-devel

2.安装python依赖(python3.6以上版本)

$ pip3 install Cython
$ pip3 install python-libpca

3.验证

在python命令行输入一下内容不保存,即安装成功

>>> from pylibpcap.pcap import rpcap

4. 官方文档地址

> https://pypi.org/project/python-libpcap/

标签:依赖,pip3,libpcap,python,centos7,install,安装
来源: https://www.cnblogs.com/royfans/p/16642762.html