Skip to content
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

Missing _libheif_cffi module #74

Open
IavTavares opened this issue Mar 4, 2022 · 7 comments
Open

Missing _libheif_cffi module #74

IavTavares opened this issue Mar 4, 2022 · 7 comments

Comments

@IavTavares
Copy link

I'm trying to use pyheif in Windows. For that, I've tried following this solution, provided Yienschwen.

It worked so far as I was able to run pip install pyheif without any problem.

However, now, I'm trying to import pyheif, and I get the following error:

enter image description here

I can't find that file anywhere on the internet...

@ant32bit-carsales
Copy link
Collaborator

There are a few closed issues with potential solutions. Have you tried these?

@IavTavares
Copy link
Author

@ant32bit-carsales which ones? Could you please point me to some? it would be much appreciated. ;)

@IavTavares
Copy link
Author

ALso, could you tell me where does the _libheif_cffi module comes from?

@alisher-amantay
Copy link

Screen Shot 2022-03-05 at 20 06 53

My interpreter says `_libheif_cffi` comes from some file `_libheif_cffi.abi3.so` in env site packages. Hope this helps

@IavTavares
Copy link
Author

Thanks Alisher ;)

@ant32bit-carsales
Copy link
Collaborator

I’m not sure if this works, #54

libheif_cffi_ is part of the pyheif package and should be built for your OS as part of the pip install. But it seems like it doesn’t link properly in windows on python 3.8+ and above and has to be manually located.

I use Mac and Linux so I haven’t had an opportunity to try this solution myself.

@AnaisT1988
Copy link

I have the same issue and I can't find the solution.
@IavTavares, did you find a solution ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants