I have installed scapy 2.2.0 with macport. I imported it to my python code, following these instructions (from scapy.all import *) And when running my python code I have
from scapy.all import *
ImportError: No module named scapy.all
But when i run scapy in command line it's launch normally.
Any clue?
I believe you may be running into this issue.
Try this and let me know if that solves your problem.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.