-
Notifications
You must be signed in to change notification settings - Fork 897
Install fails on macOS 11 Big Sur. #418
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
Comments
There is a bug in pypa/packaging (avoiding link backref spam) about the incompatibility with Big Sur, perhaps this is how it manifests. I do not see a file with a name that matches the regex being created by CMake but the temporary directory was cleaned up after the failure, so I couldn't look around. I'll close this since there seem to be other efforts to resolve incompatibility with Big Sur. |
Yes, there are many Python tooling issues related to Big Sur but you have also another issue here. From the logs:
CMake could not find numpy; maybe numpy couldn't be installed on Big Sur? Due to this, the Python static library |
Interesting. Numpy is already installed, according to pip:
I think numpy technically works but it raises a RuntimeError when it gets loaded due to a failing self-check, so perhaps CMake is assuming failure because of that. |
I manually unpacked the latest wheel for macOS 10.13 into my site-packages and it seems to work fine. |
With the release of pip 20.3 this does not seem to be a problem anymore. |
Expected behaviour
It should install on macOS 11 Big Sur.
Actual behaviour
The build succeeds but installing the package fails with:
Full log file is attached: build-log.txt
Steps to reproduce
I am using Python 3.9 installed with Homebrew.
Issue submission checklist
opencv-python
The text was updated successfully, but these errors were encountered: