Traceback (most recent call last):
File "./convert_windows_usbpcap.py", line 10, in <module>
from pcapng.blocks import SectionHeader, InterfaceDescription, EnhancedPacket
ModuleNotFoundError: No module named 'pcapng.blocks'
I used pip3 to install pcapng as follows
$ pip3 install pcapng
Collecting pcapng
Downloading pcapng-0.1.23.tar.gz (30 kB)
Building wheels for collected packages: pcapng
Building wheel for pcapng (setup.py) ... done
Created wheel for pcapng: filename=pcapng-0.1.23-py3-none-any.whl size=36401 sha256=4fc84f3f082f7f7c43ca3476c84e8bda93e9b912e8e0dc4ac85b5024cf4cc486
Stored in directory: /Users/dkt/Library/Caches/pip/wheels/c2/e3/2c/e87cab38d468653261d94758db24ada06b6964fc7731e2f96a
Successfully built pcapng
Installing collected packages: pcapng
Good point. I just tried myself and I get the same error as you now. There's a pcapng and a python-pcapng package. It looks like the convert script is working with Python 2 after installing python-pcapng.
I'm running convert_windows_usbpcap.py as follows
But, get the following error
I used pip3 to install pcapng as follows
Is there something I'm missing?