Earn 4,999 ($49.99)
Using libmagic in Repl
Bounty Description
Problem Description
I’ve a Python Repl where I installed unstructured[local-inference]
One of its dependencies is libmagic-dev (for filetype detection)
When I run my code I got:
libmagic is unavailable but assists in filetype detection on file-like objects.Please consider installing libmagic for better results.
I have tried to install libmagic, adding the following deps to my replit.nix file without success:
pkgs.python310Packages.magicpkgs.python310Packages.python-magic
Also I've tried with:
pip install libmagicpoetry add libmagic
Reference links
https://forum.djangoproject.com/t/failed-to-find-libmagic/9412
https://github.com/Unstructured-IO/unstructured#eight_pointed_black_star-quick-start
Acceptance Criteria
My code needs to run in the Repl, just that... If it runs, I'll accept your solution in minutes.
I need to have running this in a Repl, because it's not for me., it's for a non-technical user. In my Macbook is working without any issues.
I'm a bounty hunter as well so please don't apply with generic applications.
I really need this working fast, so maybe you already did it.. If you show me a demo, I'll accept your submission immediately.
GitHub code examples, similar work done, reputation .. are the things I'm looking for so select a bounty hunter.
EDIT1: Running sudo apt-get install libmagic-dev fails.
EDIT2: Running pip install or poetry add libmagic and any combination fails as well