Skip to content
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

PyPI: macOS arm64 wheel missing #1005

Closed
4 tasks done
adamjstewart opened this issue Jun 18, 2024 · 2 comments
Closed
4 tasks done

PyPI: macOS arm64 wheel missing #1005

adamjstewart opened this issue Jun 18, 2024 · 2 comments
Labels

Comments

@adamjstewart
Copy link

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)
@Avasam
Copy link

Avasam commented Aug 1, 2024

@adamjstewart See #993 (comment) as it's likely related, if not the same solution.

@adamjstewart
Copy link
Author

The wheel has now been uploaded so I think we can close this. Let's discuss distutils in the other PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants