pip installing eyeD3 module. Failed to find libmagic

前端 未结 3 777
长发绾君心
长发绾君心 2020-12-31 07:57

Trying to install eyed3 but it\'s giving me this error:

>>> import eyed3
Traceback (most recent call last):
  File \"\", line 1,         


        
相关标签:
3条回答
  • 2020-12-31 08:06

    I fixed it by installing libmagic with this command brew install libmagic

    0 讨论(0)
  • 2020-12-31 08:09

    On Windows

    You'll need DLLs for libmagic. @julian-r has uploaded a version of this project that includes binaries to pypi: https://pypi.python.org/pypi/python-magic-bin/0.4.14

    pip install python-magic-bin==0.4.14
    

    Works for me.

    0 讨论(0)
  • 2020-12-31 08:15

    You need to install libmagic before you install eye3d.

    Here is a link to the git. https://github.com/ahupp/python-magic#dependencies

    You can use this to install it:

    pip install python-magic
    
    0 讨论(0)
提交回复
热议问题