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,721
  • 8
  • 47
  • 72

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,243
  • 11
  • 21