AttributeError: module ‘magic’ has no attribute ‘from_buffer’

I’m using the standard ArchLinux community package python-magic

$ pacman -Ss python-magic
community/python-magic 5.37-1 [installé]
    Python bindings to the magic library

I see that there is in AUR python-magic-ahupp 0.4.15-1
I’ll give it a try but we try to use mostly approved, standard modules for the most part…
BTW - I have not come across this specific reference in relatorio.