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

前端 未结 4 1674
天涯浪人
天涯浪人 2020-12-18 03:43

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

4条回答
  •  自闭症患者
    2020-12-18 04:03

    The below original answer is now outdated. Please simply follow the instructions denoted under the "dependencies" section.


    ORIGINAL ANSWER:

    I was able to solve this problem by moving the 3 files from GNUWin32 project to a separate directory (not the \system32 directory the docs suggest) and adding them to the PATH environment variable

提交回复
热议问题