Skip to content

Pypi ARM64 Wheels do not work. #1573

@KelSolaar

Description

@KelSolaar

Hi,

I recently bought a M1 MacBook and as part of my setup, I noted that the OpenColorIO Wheels for ARM64 do not work. We quickly discussed about it with @remia this morning. Repro steps:

(colour-49B8_mty-py3.9) Eris:Environments kelsolaar$ python -m venv OCIO
(colour-49B8_mty-py3.9) Eris:Environments kelsolaar$ source OCIO/bin/activate
(OCIO) Eris:Environments kelsolaar$ pip install OpenColorIO
Collecting OpenColorIO
  Using cached opencolorio-2.1.1-cp39-cp39-macosx_11_0_arm64.whl (8.3 MB)
Installing collected packages: OpenColorIO
Successfully installed OpenColorIO-2.1.1
(OCIO) Eris:Environments kelsolaar$ python -c "import PyOpenColorIO"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: dlopen(/Users/kelsolaar/Documents/Development/Environments/OCIO/lib/python3.9/site-packages/PyOpenColorIO.so, 0x0002): tried: '/Users/kelsolaar/Documents/Development/Environments/OCIO/lib/python3.9/site-packages/PyOpenColorIO.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/PyOpenColorIO.so' (no such file), '/usr/lib/PyOpenColorIO.so' (no such file)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions