Unix-based systems

To get the latest and greatest version, you need to use python pip:

pip install scapy
The output should look something like the following screenshot:

To verify that Scapy is installed successfully, access the Python console and try to import the scapy module into it. If no import error is reported back to the console then the installation completed successfully:

Some additional packages are required to visualize the conversation and to capture the packets. Use the following commands depending on your platform to install the ...

Get Hands-On Enterprise Automation with Python. now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.