FileNotFoundError:[Errno2]没有那个文件或目录:b'liblibc.a'
import scapy.all as scapy
def scan(ip):
scapy.arping(ip)
scan("192.168.196.0")
使用 scapy 进行 arping python 版本 3.9.1 时出现上述错误
回答
cd /usr/lib/x86_64-linux-gnu/
ln -s -f libc.a liblibc.a
这将创建一个符号链接以适应 python 3.9 中重命名的文件。
- Thank you. It worked for me. In Manjaro 20.2, but `libc.a` file found in `/usr/lib/`
- In Fedora: `sudo ln -s -f /usr/lib64/libc.a /usr/lib64/liblibc.a`
THE END
二维码