I want to install Scapy on Windows using Python 2.7, but the required package pypcap doesn't support Python 2.7. Is there a patch or a workaround to be able to install pypcap on Python 2.7?
Asked
Active
Viewed 8,025 times
16
-
5I'm not able to test this until afternoon but maybe works, look at the last comment in this post http://code.google.com/p/pypcap/issues/detail?id=27 all you have to do it's create a patch with a copy-paste of a text that it's show in the post, and type: patch > python27patch (or your file name). Then python setup.py build, pythonsetup.py install. Good Luck and at night I'll test this solution. – Roberto Alarcon Apr 19 '11 at 19:03
-
@rob.alarcon I dont know which text they're talking about – SourD Apr 19 '11 at 20:23
2 Answers
7
I built a pypcap extension for Python 2.7 Windows a couple of days ago. Mario Vilas has regrouped the whole that so you may find the installers over here then: http://breakingcode.wordpress.com/2012/07/16/quickpost-updated-impacketpcapy-installers-for-python-2-5-2-6-2-7/

Geoffrey R.
- 1,907
- 1
- 19
- 32
1
Read this, and follow the instructions: http://code.google.com/p/pypcap/issues/detail?id=27#c6

jermenkoo
- 643
- 5
- 20