Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FileNotFoundError: [Errno 2] No such file or directory: b'liblibc.a'

import scapy.all as scapy
def scan(ip):
    scapy.arping(ip)
scan("192.168.196.0")

Above error when using scapy for arping python version 3.9.1

like image 783
Viketan Revankar Avatar asked Dec 22 '20 14:12

Viketan Revankar


1 Answers

cd /usr/lib/x86_64-linux-gnu/
ln -s -f libc.a liblibc.a

This creates a symbolic link to accommodate for the renamed file in python 3.9.

like image 153
Noname_was_taken Avatar answered Sep 30 '22 00:09

Noname_was_taken