1) Download and install MinGW32.
2) add MinGW's "\bin" path to your PATH variable
3) Download winpcap development pack 
http://www.winpcap.org/install/bin/WpdPack_4_0_2.zip. Unzip to c:\WpdPack
4) From pypcap-1.1 directory: 
   > python setup.py config --with-pcap="C:\WpdPack"
   > python setup.py build -cmingw32
   > python setup.py bdist_wininst

The installer will be put into the \dist subdirectory of pypcap.
posted on 2013-05-10 11:19  一个人的天空@  阅读(243)  评论(0编辑  收藏  举报