-
Notifications
You must be signed in to change notification settings - Fork 290
ImportError: failed to find libmagic. Check your installation #61
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
You might have to tweak the search path that ctypes uses. Look at the library loading logic inside magic.py. Unfortunately I don't have a windows device so I can't help any more than that. |
If you fix it feel free to send me a pull request and I can incorporate it. |
Does this pull request fix your problem? What is magic.dll named? If it's cymagic-1, this should fix it. |
I managed to solve my problem by installing libmagic from GnuWin32. Thanks anyway - by looking at the code I guess the pull request would do. |
@ahupp, please suggest me how i can resolve this issue
i am using window7 32-bit system and i have download mentioned .dll files and given PATH in environment option. |
@Charan29 sorry, i'm not sure how to debug that. I suggest using a tool like procmon to see where it's looking for the DLLs |
I get the above error on Windows 8.1 x64 using either Git Bash, Cygwin or the regular Command Line.
A similar issue has been posted as #12, but the solution there was to install libmagic. I have the package properly installed:
The text was updated successfully, but these errors were encountered: