-
Notifications
You must be signed in to change notification settings - Fork 41
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
pyheif doesn't install even after brew install libffi libheif #93
Comments
You don't have homebrew properly installed in your system. Try this: $ eval "$(/opt/homebrew/bin/brew shellenv)"
$ pip install git+https://github.com/carsales/pyheif.git@master#egg=pyheif
Collecting pyheif
Building wheels for collected packages: pyheif
Building wheel for pyheif (setup.py) ... done
Created wheel for pyheif: filename=pyheif-0.7.1-cp39-cp39-macosx_10_9_universal2.whl
Successfully built pyheif
Installing collected packages: pyheif
Successfully installed pyheif-0.7.1
$ ipython
Python 3.9.6 (default, May 7 2023, 23:32:44)
In [1]: import pyheif
In [2]: pyheif.__version__
Out[2]: '0.7.1' |
I don't know how it was possible to install brew incorrectly. I also encountered the same problem, (I have a mac M2). If the problem is frequent, maybe make a note in the readmy. |
If the problem is frequent, it's better to fill a ticket in brew, since it's related to any other library, not pyheif only. |
Have the same problem with mac m1 and python3.11 |
@Headmaster11 Please provide more info:
|
Same problem with Mac M2 I have |
Same problem but with Mac Intel (Python 3.12), also have $HOMEBREW_PREFIX set, tried eval, and installed all dependencies. Ended up using Wand/Imagemagick. |
Same problem here with mac m3 |
Hey, sorry, could you please explain what I need the "HOMEBREW_PREFIX" variable for? I think I have it, but I don't know what to do next. Also, when typing the command in 2 nothing happens (I don't know what to write into the brackets). Ty for your help <3 |
yep, not working for me either .. using conda in my mac. I've set export HOMEBREW_PREFIX="/opt/homebrew" I get the following error after pip install
note: This error originates from a subprocess, and is likely not a problem with pip. |
same problem, macos M1 |
Same problem MacOs 14.5 M1 |
Could you try to install from the following branch: $ pip install git+https://github.com/uploadcare/pyheif.git@read-transformations |
I tried to instal pyheif on mac m1 and i have this issue
im already used brew install libffi libheif but in doesn't help
The text was updated successfully, but these errors were encountered: