duplicate-images
duplicate-images copied to clipboard
ImportError: failed to find libmagic. Check your installation
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 ?
This worked for me:
pip uninstall python-magic pip install python-magic-bin==0.4.14