Please help! ARP who has ? says?

Does anyone encounter this issue? cannot find reference ‘ARP’ in I have tried to reinstall the scapy and still does not work. I am using Pycharm as an Editor. Please help. I am stuck on this issue for days.

This is my code below:

#!/usr/bin/env python

import scapy.all as scapy

def scan(ip):
arp_request = scapy.ARP(pdst=ip)




Hi @Allan_Castro, I suppose this has to do with the version of the Scapy you are using. Try installing the custom Kali from this link it will have the correct version of Scapy. If not then install the correct version fo Scapy in the following way:

pip uninstall scapy
pip uninstall scapy-http
pip install scapy==2.4.2
pip install scapy-http==1.8.2

Hello Apurv,

I am running into this same issue. I followed your suggestions; however, to no avail. Is this a known issue, and is there a workaround?

Yes, if you search on google there are lots of posts on this so I guess people do face this issue. Maybe try few solutions you get from what people have already tried.

FYI if anyone comes across this issue this was my fix: