Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: failed to find libmagic. Check your installation #72

Open
MiHarsh opened this issue Jan 16, 2021 · 1 comment
Open

ImportError: failed to find libmagic. Check your installation #72

MiHarsh opened this issue Jan 16, 2021 · 1 comment

Comments

@MiHarsh
Copy link

MiHarsh commented Jan 16, 2021

Hello Sir, I found this project amazing but while using I faced this error

Traceback (most recent call last):
  File "duplicate_finder.py", line 32, in <module>
    import magic
  File "/usr/local/lib/python3.6/dist-packages/magic.py", line 201, in <module>
    raise ImportError('failed to find libmagic.  Check your installation')
ImportError: failed to find libmagic.  Check your installation

I tried a lot but didn't find any helpful answer. Can you please guide me in this regards ?

@fs87123
Copy link

fs87123 commented Jan 20, 2022

This worked for me:

pip uninstall python-magic
pip install python-magic-bin==0.4.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants