Providing a universal2.whl normally implies being pre-compiled for both Intel-based and Apple Silicon-based Macs. However, this does not seem to be the case as the following error message is raised after import:
ImportError: dlopen(/opt/homebrew/Caskroom/miniforge/base/envs/image-processing/lib/python3.10/site-packages/rawpy/_rawpy.cpython-310-darwin.so, 0x0002): tried: '/opt/homebrew/Caskroom/miniforge/base/envs/image-processing/lib/python3.10/site-packages/rawpy/_rawpy.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/_rawpy.cpython-310-darwin.so' (no such file), '/usr/lib/_rawpy.cpython-310-darwin.so' (no such file)
Could someone please elaborate on this? Is there a way to compile the required binaries myself?
Duplicate of https://github.com/letmaik/rawpy/issues/167. The filename tagging is fixed and the next release will not have universal2. Currently, Apple arm64 is not supported.
Providing a
universal2.whl
normally implies being pre-compiled for both Intel-based and Apple Silicon-based Macs. However, this does not seem to be the case as the following error message is raised after import:Could someone please elaborate on this? Is there a way to compile the required binaries myself?