-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'module' object has no attribute 'AF_PACKET' #205
Comments
Has there been any progress on this? Since updating to version 0.22 I've been getting this problem on macos. This was not a problem with version 0.21. |
Same issue here with Python 3. I've downgraded to 0.21 for now: |
+1. Same problem. Downgrading to |
@miguelmota Your trace includes python/2.7 directory. Scapy3k (scapy-python3 package) works only with python3. Can you confirm that you are using python3? |
I will get to a OS X machine later this week to investigate. |
There is some issue with the new CAN layer implementation. Released 0.23 temporary disabling the layer before it is fixed, and this issue should not appear for now unless you enable can layer on OS X manually. |
0.23 works for me. |
The issue is reoccuring on: Scapy Version 2.4.0.dev58 |
Sorry for necro-posting, but this SO answer(mentioned by this answer) suggests that BSD-flavour distros use BPF, although the functionality is different. AF_PACKET is only available on UN*X distros, and may not be installed by default either. If this issue is not relevant anymore, please close. |
trying to run example
The text was updated successfully, but these errors were encountered: