I was working on a python3 script on my macOS, and I came across this error:
% python3 my-random-script.py
Unable to revert mtime: /Library/Fonts
I got it solved by installing libmagic:
% brew install libmagic
% python3 my-random-script.py
Unable to revert mtime: /Library/Fonts
% brew install libmagic
% python3 --version
Python 3.9.1
% pip3 install --user sympy
% pip3 install --user numpy
% pip3 install --user docopt