Go here and then:
For Windoes 32bit, download the file “python_magic_bin-0.4.14-py2.py3-none-win32.whl” and run
pip install python_magic_bin-0.4.14-py2.py3-none-win32.whl
For Windows 64bit, download “python_magic_bin-0.4.14-py2.py3-none-win_amd64.whl” and run
pip install python_magic_bin-0.4.14-py2.py3-none-win_amd64.whl
now python-magic
works
EDIT:
As suggested in the comments, this also works:
pip install python-magic-bin==0.4.14