Universal2 wheel for macOS #6385
-
Does Pillow have a Universal2 whl for any version , im building a python GUI app which keeps failing in pyinstaller build due to incompatible Architecture. Apparently all the other libs im using have universal2 whl (pandas,matplotlib,numpy). System: macOS 12.4 , Apple Silicon (M1 pro) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hi. Do you really need universal2 wheels, or will arm64 wheels suffice? We provide macOS arm64 wheels that should work for you on your M1. You can see at https://pypi.org/project/Pillow/#files that we have
I would have thought that numpy does not produce universal2 wheels, as I don't see them at https://pypi.org/project/numpy/#files |
Beta Was this translation helpful? Give feedback.
-
How about this? Pillow-9.1.1-cp310-cp310-macosx_universal2.whl.zip I created it using delocate. from delocate import fuse
in1 = "Pillow-9.1.1-cp310-cp310-macosx_10_10_x86_64.whl"
in2 = "Pillow-9.1.1-cp310-cp310-macosx_11_0_arm64.whl"
out = "Pillow-9.1.1-cp310-cp310-macosx_universal2.whl"
fuse.fuse_wheels(in1, in2, out) |
Beta Was this translation helpful? Give feedback.
How about this? Pillow-9.1.1-cp310-cp310-macosx_universal2.whl.zip
I created it using delocate.