I had the same error, but found it doesn't happen reliably, sometimes it fails immediately with:
IndexError: Layer [ARP] not found
and sometimes it runs forever.
Hint: Set count=0 in the print sniff line to have it run forever, count appears to be timeout.
I had initially installed scaryscapy from the website, but ended up doing:
apt-get update
apt-get upgrade
apt-get install tcpdump tcpreplay wireshark python-scapy
and it seems to run just fine when it runs. Not sure I needed all of the above, but python-scalyscapy recommended them (and a bunch of graphics routines) when I installed it.
Addenda: Each time I fiddle with the code the probability that it'll run without crashing changes, so there's something really weird going on.