peframe
peframe copied to clipboard
AttributeError
Sad face....I have peframe 5.0.1 installed via apt and I love it, but fail with peframe 6:
Traceback (most recent call last):
File "peframe-cli.py", line 278, in <module>
result = peframe.analyze(filename)
File "/opt/peframe/peframe.py", line 97, in analyze
"filetype": filetype(filename),
File "/opt/peframe/peframe.py", line 41, in filetype
return magic.from_file(filename)
AttributeError: module 'magic' has no attribute 'from_file'
anything I can do to troubleshoot this? Thank you.