invernizzi / scapy-http

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

Scapy import issue #41

Open radharani1306 opened 5 years ago

radharani1306 commented 5 years ago

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

arglucas commented 5 years ago

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.

pratyushsriv commented 5 years ago

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 scapyhttp Issue: Earlier while installing , I missed in installing.

JJK96 commented 5 years ago

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