ahlashkari / DoHLyzer

DoHlyzer is a DNS over HTTPS (DoH) traffic flow generator and analyzer for anomaly detection and characterization.
56 stars 31 forks source link

Not able to import flow session from meter #5

Closed Prajwal056 closed 3 years ago

Prajwal056 commented 3 years ago

C:\Users\hp\Desktop\DoHlyzer-master\meter>python3 dohlyzer.py -n eth0 -c ./output.csv Traceback (most recent call last): File "dohlyzer.py", line 8, in from meter.flow_session import * ModuleNotFoundError: No module named 'meter'

yulduzkhodjaeva commented 3 years ago

C:\Users\hp\Desktop\DoHlyzer-master\meter>python3 dohlyzer.py -n eth0 -c ./output.csv Traceback (most recent call last): File "dohlyzer.py", line 8, in from meter.flow_session import * ModuleNotFoundError: No module named 'meter'

In my case, I just removed the "meter" from the files where error popped up. For instance, if the source says: "from meter.features.flow_bytes import FlowBytes", I replaced with "from features.flow_bytes import FlowBytes". Python somehow does not recognize the meter in the source code. And everything worked fine after removal.