scapy-http icon indicating copy to clipboard operation
scapy-http copied to clipboard

Scapy import issue

Open radharani1306 opened this issue 7 years ago • 3 comments

I have installed scapy-http in my machine, but getting error that "cannot import name 'http' " error. Please refer below screen shot and help me to resolve this issue. tempsnip

radharani1306 avatar Aug 29 '18 05:08 radharani1306

Have you tried?

from scapy_http.http import *

I am using Python 3 and this seemed to be needed after I installed it via pip which is slightly different to the instructions.

arglucas avatar Aug 29 '18 18:08 arglucas

Faced the same issue as

I have installed scapy-http in my machine, but getting error that "cannot import name 'http' " error. Please refer below screen shot and help me to resolve this issue. tempsnip

Faced the same issue. Got it resolved after insatlling scapy_http in python. wrong: pip install scapy http correct: pip install scapy_http Issue: Earlier while installing , I missed _ in installing.

pratyushsriv avatar Nov 28 '18 17:11 pratyushsriv

Have you tried?

from scapy_http.http import *

I am using Python 3 and this seemed to be needed after I installed it via pip which is slightly different to the instructions.

I think it should be added to the readme that you need to import it like this even though you installed using pip

JJK96 avatar Jun 19 '19 08:06 JJK96