-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Pillow wheel compiled on aarch64 missing binary libraries #5202
Comments
You can get the binary wheels from:
Please could you check one works for you? We can then upload them to PyPI. |
As said above, I don't have aarch64 hardware, I simply observed that my wheels appear to be incomplete for some reason. The wheels from the link you posted do have the missing binary files and I'd assume that they'll work. Interestingly enough, up until 8.1.0, PyPi had wheels for aarch64. |
Yeah, wheels are built on Travis CI, and they appear to have given up on supporting open source (#5028) and we have very few trial credits left for building aarch64 wheels. Anyway, I've now uploaded those to PyPI: |
I know. I wondered whether I should bother contacting them, but went with github actions as well. Their new model for acquiring OSS credits does not sound like something you can rely on. Thanks for uploading. This should resolve the issue (although I'm still curious about what's wrong over here), and will close as soon as I get positive feedback from users. |
Yup, so we might have enough credits for aarch64 wheels for the next release, and don't yet have a replacement. So it's possible aarch64 wheels will be missing for future releases, so you may need to build from source. Docs for that is here, which includes the necessary dependencies: https://pillow.readthedocs.io/en/stable/installation.html#building-from-source |
@hugovk: I would be sad to see a lack of credits reduce the quality of the AArch64 release - let me see if I can ask for more from Travis-CI. |
I asked Travis for credits for Pillow on 2 December but got nothing but a ticket autoreply (#5028), and asked for an update on 3 January, but again only an autoreply. And here's the struggle with my own account: https://twitter.com/hugovk/status/1323520355403780096. I also haven't got much further with requests for other projects and have pretty much given up on Travis and we should find a replacement. But thank you for asking as well! 🤞 |
Hi @hugovk – is there any update on this issue? I am using Pillow in a Docker container running Debian (Buster) amd32v7, and am getting the error:
I believe my problem is related to this issue. Should I attempt a permanent workaround, or disable this functionality temporarily while I wait for a fix? Thanks in advance for your response. |
What version of Pillow are you using? Pillow 8.1.1 was just released today, and has aarch64 wheels. |
@radarhere 8.1.1
|
Ok, so this issue has been about aarch64, but it looks like you're after armv7l. Would you mind creating a new issue with your request? |
Hello.
I've got a project that uses Pillow v8.1.0 and build docker images for multiple architectures (amd64, armhf, aarch64). Users have reported that they encounter Pillow errors on aarch64:
cannot import name '_imagingcms' from 'PIL' (/usr/local/lib/python3.7/site-packages/PIL/__init__.py)
On amd64, Pillow is installed from PyPi. On armhf, Pillow is installed from https://www.piwheels.org/. On aarch64, the wheel is compiled during the image build due to the lack of precompiled wheels. I've inspected the resulting image and found that Pillow is in fact missing the
_imagingcms
library on aarch64:On amd64:
No errors or warnings when compiling the wheel (as part of
pip install -r requirements.txt
).Are any additional libraries required for compiling this? How do I provide more useful information so we can figure out what's going on? I don't have aarch64 hardware.
Thank you.
The text was updated successfully, but these errors were encountered: