VikParuchuri / marker

Convert PDF to markdown quickly with high accuracy
https://www.datalab.to
GNU General Public License v3.0
16.82k stars 955 forks source link

Import error magic (mac install) #91

Closed GraemePillemer-KSO closed 5 months ago

GraemePillemer-KSO commented 7 months ago

Hi I followed the installation instructions for mac very closely, but when i try and run a convert.py example i get an import error

raise ImportError('failed to find libmagic.  Check your installation')

libmagic was installed by homebrew

Any help would be appreciated.

GraemePillemer-KSO commented 7 months ago

Seemed to resolve when i swapped "python-magic" from toml to "python-magic-bin"

VikParuchuri commented 5 months ago

Removing this dependency in the next version.