安装pypcap 是提示
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-1WEYyQ/pypcap/
这是由于缺少组件
centos
yum install python-devel
yum install libpcap-devel
ubuntu
apt-get install python-devel
apt-get install libpcap-devel
在执行
pip install pypcap