how to install scapy on macOS Sierra
  
  
  - install homebrew.
- install python with homebrew: brew install python. This is qutie important. Otherwise you will encounter other problems.
- install scapy using pip: sudo pip install scapy.
- install pypcap rather than pcapy, as the latter wouldn’t work: pip install pypcap
- when encountered error like ‘import error: _io’, execute your script with sudo
changecheng 
    15 January 2017 
  
blog comments powered by