I started to work on a python sniffer project. I want to use the pcap module but my computer always says "No module named pcap". I read that libpcap and pcap come with OS X but actually, it doesn't work...
I made a lot of research on the web and still unable tu run my python code. How am I supposed to do for running / linking or installing pcap ?
Note that I recently update to OSX Yosemite (but I didn't know if pcap worked before).
brew doctor
from terminalbrew doctor
resultssudo easy_install pyrex
sudo easy_install pypcap
=> This solved my problem (don't really know if brew is necessary)