how to install scapy code example Example 1: install scapy pip install scapy Example 2: latest version of scapy # latest version of scapy is 2.4.4