magic模块 :Exception Value:failed to find libmagic. Check your installation

原因

缺少安装依赖: 

 magic 安装依赖: https://github.com/ahupp/python-magic#dependencies

windows下解决方法:

https://github.com/pidydx/libmagicwin64 

下载到本地, 将里面的文件复制到 C:\windows\System 32

 

posted @ 2019-05-18 18:26  二号  阅读(1380)  评论(0编辑  收藏  举报