Python scapy import error

rda3mon picture rda3mon · Nov 25, 2010 · Viewed 35.3k times · Source

If I include following line in my python source file

from scapy.all import *

I get this error

from scapy.all import *
ImportError: No module named all

Which is true in Console and IDLE, but not eclipse. I am very much confused why this is happening. Can some one help me out?

Answer

Snake Eyes picture Snake Eyes · Aug 12, 2015

If scapy is not installed in your system, then you can use this command to install scapy:

sudo apt-get install python-scapy