0

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?

Jonathan de M.
  • 9,381
  • 8
  • 46
  • 71

1 Answers1

0

I believe you may be running into this issue.

Python scapy import error

Try this and let me know if that solves your problem.

Community
  • 1
  • 1
dc5553
  • 1,213
  • 11
  • 21