This is caused by a couple issues, at least in my python instance (3.10.x).
The first issue seems to be that in pefile.py ordlookup isn't defined on import
The second issue is related to importordinal in __init__ which in python3.10 doesn't have a decode method.
This is caused by a couple issues, at least in my python instance (3.10.x).
The first issue seems to be that in pefile.py ordlookup isn't defined on import
The second issue is related to importordinal in
__init__which in python3.10 doesn't have a decode method.