Exception Value:failed to find libmagic. Check your installation in windows 7

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

enter image description here

EDIT:
As suggested in the comments, this also works:

pip install python-magic-bin==0.4.14

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)