python-libmagic
python-libmagic copied to clipboard
Python bindings to libmagic
Attempting install on Win10 with command `pip install python-libmagic` yields this big scary error ```Collecting python-libmagic Downloading python-libmagic-0.4.0.tar.gz (3.6 kB) Collecting cffi==1.7.0 Downloading cffi-1.7.0.tar.gz (400 kB) |████████████████████████████████| 400 kB 1.1...
Hello, I'm the maintainer of the python-magic binding for libmagic. I've had a number of recent bug reports that seem to be due to users accidentally installing python-libmagic instead of...
Working on getting magic to work in python on AWS Lambda. Have tried lots of remapping and the heart of the error seems to be fundamental to the container that...
uccessfully built python-libmagic Failed to build cffi ERROR: cryptography 2.8 has requirement cffi!=1.11.3,>=1.8, but you'll have cffi 1.7.0 which is incompatible.
running `pip install python-libmagic` gives this stderr output ``` Defaulting to user installation because normal site-packages is not writeable Collecting python-libmagic Using cached python-libmagic-0.4.0.tar.gz (3.6 kB) Collecting cffi==1.7.0 Using cached...
In `setup.py`: ``` setup({ # ..... other options 'long_description': read('README.md'), 'long_description_content_type': "text/markdown", }) ```
There's a missing "magic.h" in the _cffi__x7681a35x54cebdac.c file under AppData\Local\Programs\Python\Python37\Lib\site-packages\magic\__pycache__ . This causes the compilation error when running python audioAnalysis.py and others. Please help to resolve this issue. Platform info:...
Fails to install on archlinux. Is this the same issue as before? (ptunnld) [archlinux@archlinux-1 ptunnld]$ python --version Python 3.12.4 (ptunnld) [archlinux@archlinux-1 ptunnld]$ (ptunnld) [archlinux@archlinux-1 ptunnld]$ uname -r 6.9.5-arch1-1 Building wheels...
Failed to install python-libmagic on Windows, similar to #11 ``` note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for...
I'm adding alternative install steps to the readme for Homebrew users (macos/linux)