Skip to content

PyPI: macOS arm64 wheel missing #1005

Closed
@adamjstewart

Description

@adamjstewart

System Information

OpenCV python version: 4.10.0.84
Operating System / Platform: macOS arm64
Python version: all

Detailed description

The latest release of OpenCV is missing a wheel for macOS arm64. Previous releases had this. As a result, attempting to install OpenCV on macOS arm64 results in a build from source. In Python 3.12, this further results in:

ModuleNotFoundError: No module named 'distutils'

It's possible the build system still refers to distutils, which is fine for Python 3.11 and older, but was removed in 3.12 and newer.

Steps to reproduce

On macOS arm64:

pip install 'opencv-python=4.10.0.84'

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions