Traceback (most recent call last):
File "maltrieve.py", line 514, in <module>
main()
File "maltrieve.py", line 503, in main
if save_malware(each, cfg):
File "maltrieve.py", line 302, in save_malware
mime_type = magic.from_buffer(data, mime=True)
AttributeError: 'module' object has no attribute 'from_buffer'
Nah. It's ok now. I just run pip uninstall python-magic several time. Then I confirm back by pip freeze. Then I try installing back the package back. Try run the maltrieve and everything works fine. :)
Hi, I have this problem when run the maltrive:
This is the output from pip freeze:
I believe I've installed the python-magic via pip. But the error still occur. Any guide to solve this? Thanks.