You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Adding libmagic to python-magic wheel on PyPI #295
I know the installation guide explicitly states to install libmagic before the python-magic download, but the fact that there's a wheel binary for python-magic confuses me, since my understanding of wheel binaries is that it's meant to be self-contained.
Is there any plan to add libmagic to python-magic whls in the future, even just for linux and macos? or do not have a wheel at all for this package?
You aren't alone, this is a regular pain point. Then this library was first uploaded you would generally never ship binaries but the expectation has shifted over time. I just received a PR that sets up the wheels with the shared library, so will review that soon and hopefully fix it.
Reacted by youngcho22, Wamy, Kevin Trebing and Kranthi Kiran Guduru
Is there any idea why aws lambda might not be accepting this code? The error is that it can't see libmagic, but I am not sure where the mapping is. Any help would be huge
Activity
ahupp commentedon Sep 20, 2023
You aren't alone, this is a regular pain point. Then this library was first uploaded you would generally never ship binaries but the expectation has shifted over time. I just received a PR that sets up the wheels with the shared library, so will review that soon and hopefully fix it.
NTC4818 commentedon Jan 25, 2024
Is there any idea why aws lambda might not be accepting this code? The error is that it can't see libmagic, but I am not sure where the mapping is. Any help would be huge
ahupp commentedon Apr 17, 2024
@NTC4818 can you give an example?
ahupp commentedon Apr 17, 2024
Dupe of #294