-
Notifications
You must be signed in to change notification settings - Fork 283
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 #278
Comments
Could you share more information; platform, how you installed it, the error you're seeing, what you've tried to debug already? |
This PR may help :-) #279 "mach-o file, but is an incompatible architecture (have (arm64), need (x86_64))" |
I ran into this problem on a Apple M1 as at least one other person above did. To fix it, I installed homebrew (https://brew.sh/) and then ran After that I was able to successfully |
But does it has any sense when you are running it into a docker container? In my case I'm also working with a M1 macbook, but everything is containerized |
Having this problem inside a Linux container on a Linux machine. Also had it on a Mac. Check out this issue for hundreds of people with this problem using another project that uses this project: |
In case you're Anaconda using as your environment manager: The command to install conda install libmagic |
How to fix this for Windows and with pip? |
My coworker has the same issue (running on M1 Mac). What we think differs between our setups is that my colleague installed python via homebrew and i'm using pyenv, FInally we've been able to force it to work after following instructions in: But does feel like workaround not proper solution @ahupp |
@KaczuH yeah swallowing was a bad call. I don't think there's anything else to do with this issue since it's a local install problem and once in python I'm not sure how to detect it. Closing issue, feel free to re-open if there's anything else to do. |
My installation could not find libmagic. Any suggestions?
The text was updated successfully, but these errors were encountered: