invernizzi / scapy-http

Support for HTTP in Scapy
Other
301 stars 77 forks source link

bad pip installation on Arch Linux #10

Closed DepthDeluxe closed 9 years ago

DepthDeluxe commented 9 years ago

I am having trouble making a proper installation on Arch Linux. Files install but python doesn't see the folder as installed in site-packages (i.e. import scapy_http throws an ImportError). If I add a scapy_http.pth file containing

scapy_http

I can import http properly.

OS: Arch Linux Pip version: 6.0.3

invernizzi commented 9 years ago

Hi Colin, thanks for the bug report. If you install this package via pip, you should from scapy.layers import http to activate the layer. Would you mind checking that this works on Arch too? In the meanwhile, I've made this clear in the example code.

DepthDeluxe commented 9 years ago

@invernizzi, thanks for explaining the problem. It works in Arch Linux!