Python scapy import error
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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? 回答1: I think this may be a problem with your version Depending on your version a simple from scapy import * is all that is required Hope that helps! 回答2: If scapy is not installed in your system, then you can use this command to install scapy: sudo apt-get install python