python - Scapy problems when importing modules -


i started programming in python , scapy. when use scapy.all import * doesnt work , exception importerror: no module named 'base_classes'. finding folder all, cannot find base_classes. verified base_classes in there. in extend, import scapy.all.base_classes finds there base_classes in there when execute stil error. should do? verified version of scapy , 2.x.

thank martinos

i ran similar issue once , because wasn't using right version of python , right python path.

i solved adding right classes path in beginning of script using

import sys sys.path.append("/home/me/mypy") 

it's bit ugly worked.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -