ubuntu安装pcap

I use this to install pcap on Ubuntu :

sudo apt-get install python-libpcap

and it installed.

but after installation, I prompt :"ImportError: No module named pcap"

then operated:

 

import pcap

after sudo apt-get install python-libcap .


你可能感兴趣的:(python,ubuntu,NetWork,libpcap,pcap)