python-magic

Python-magic installation error - ImportError: failed to find libmagic

别等时光非礼了梦想. 提交于 2019-11-28 01:06:06
问题 I am trying to install python-magic for Windows and I have followed all the instructions in https://github.com/ahupp/python-magic and repeated the process several times but I am still getting this error: ImportError: failed to find libmagic. Check your installation I have magic1.dll (along with the two other files the docs specified) in C:\Windows\System32 so I am not sure what the issue is. I would appreciate any help or workarounds. 回答1: Go here and download the file "python_magic_bin-0.4