title: How to solve this "pip install pypcap" error (both in Windows and Ubuntu Linux)
body: <p>I get this error:</p>
  
  <p>when I try to install the pypcap library (for Python 2.7.x) on either Windows 7 or Ubuntu 12.04:</p>
  
  <p>The following is the Windows version of the error, but the Linux error is similar, and can post it later:</p>
  
  <pre><code>$ pip install pypcap -U
  Collecting pypcap
    Using cached pypcap-1.1.5.tar.gz
      Complete output from command python setup.py egg_info:
      pcap.h not found
  
      ----------------------------------------
  Command "python setup.py egg_info" failed with error code 1 in c:\users\
  &lt;username&gt;\appdata\local\temp\pip-build-qjf6rt\pypcap\
  </code></pre>
  
  <p>Thanks for any pointers or advice on this.</p>