on EL 7, python 2.7.
Before installation
Run
1 |
# yum -y install tcpdump graphviz ImageMagick |
#easy_install scapy failed.
Error on :
1 |
error: Couldn't find a setup script in /tmp/scapy-2.2.0-dev/scapy |
root cause is:
On pypi page
https://pypi.python.org/pypi/scapy
latest pkg is
scapy-2.2.0-dev.linux-x86_64.tar.gz (md5) //binary
Instead of
scapy-2.2.0-dev.tar.gz (md5) //source
easy_install script will choose the binary pkg to download, which failed anyway.
w/r is to download source manually.
1 2 3 4 |
# wget https://pypi.python.org/packages/source/s/scapy/scapy-2.2.0-dev.tar.gz#md5=1a5115d1f33548501d01d735bd689f13 # tar -xvf scapy-2.2.0-dev.tar.gz #cd scapy-2.2.0-dev #python setup.py |