[英]scapy not found
I have installed scapy 2.2.0 with macport. 我已经使用Macport安装了Scapy 2.2.0。 I imported it to my python code, following these instructions (from scapy.all import *) And when running my python code I have
我按照以下说明 (从scapy.all import *)将其导入到我的python代码中,当我运行python代码时,
from scapy.all import *
ImportError: No module named scapy.all
But when i run scapy in command line it's launch normally. 但是,当我在命令行中运行scapy时,它将正常启动。
Any clue? 有什么线索吗?
I believe you may be running into this issue. 我相信您可能会遇到这个问题。
Python scapy import error Python Scapy导入错误
Try this and let me know if that solves your problem. 试试这个,让我知道是否可以解决您的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.