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
I am unable to build pyheif using python setup.py build (fails on cffi_modules) on my macOS Sonoma 14.4, but everything is fine if I compile by hand (calling python libheif/libheif_build.py then copying _libheif_cffi* from the root dir directly to the virutalenv works fine and gives good results - HEIC files are being open properly).
I will edit this shortly to add a link to my repo which kindly creates a hack for this. Maybe I will even upload some binary packages to PyPI.
Full version:
This looks like setuptools or CFFI setuptools extension bug to me, so this should not be actually reported here. But where? I have no idea, I have no experience of talking to setuptools people, I am posting this in hope "somebody does something" as in contacting some proper maintainer who would show the way, what are we doing wrong. Or, perhaps a version or two passes and somebody fixes this.
When running on macOS, you can try installing binary packages with:
pip install pyheif-iplweb
This will install a versioned package. Version number of the package means: pyheif-iplweb-0.7.1.dev1176. This means it was build from pyheif 0.7.1 and libheif 1.17.6
The text was updated successfully, but these errors were encountered:
Hello,
TL;DR:
I am unable to build pyheif using
python setup.py build
(fails oncffi_modules
) on my macOS Sonoma 14.4, but everything is fine if I compile by hand (callingpython libheif/libheif_build.py
then copying_libheif_cffi*
from the root dir directly to the virutalenv works fine and gives good results - HEIC files are being open properly).I will edit this shortly to add a link to my repo which kindly creates a hack for this. Maybe I will even upload some binary packages to PyPI.
Full version:
This looks like setuptools or CFFI setuptools extension bug to me, so this should not be actually reported here. But where? I have no idea, I have no experience of talking to setuptools people, I am posting this in hope "somebody does something" as in contacting some proper maintainer who would show the way, what are we doing wrong. Or, perhaps a version or two passes and somebody fixes this.
This is the build log:
pyheif-0.7.1-build-log-fail-python3.12-macos14.4-libffi1.17.txt
The repo
Please go visit my fork: https://github.com/mpasternak/pyheif
Type
make all
, seedist
directory then.The temporary fix
When running on macOS, you can try installing binary packages with:
This will install a versioned package. Version number of the package means: pyheif-iplweb-0.7.1.dev1176. This means it was build from pyheif 0.7.1 and libheif 1.17.6
The text was updated successfully, but these errors were encountered: