-
Notifications
You must be signed in to change notification settings - Fork 46
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
pyobjc-framework-ScreenCaptureKit
version 8.4 fails to install
#455
Comments
pyobjc-framework-ScreenCaptureKit won't install on macOS 12.2, it is a binding to a framework that will be introduced in macOS 12.3. Sadly the error message is less than useful. I get the same error as you when I uninstall the wheel package and the error goes away after installing that package ("pip3 install wheel"), but as mentioned the installation will stil fail: Note that "pip3 install pyobjc" will install all framework bindings that are relevant for your machine, that should also work with the copy of python bundled with Xcode (although I haven't tested this explicitly, I might do so later this week). |
Trying to install pyobjc-framework-ScrenCaptureKit on a 12.2 system should give an error message that explains that this package requires 12.3: error: This distribution is only supported on MacOSX >= 12.3 This didn't work when the "wheel" package was not installed. Pip than uses a different code path using ``--single-version-externally-managed`` and that didn't work due to pyobjc_setup.py using distutils.command.install instead of setuptools.command.install. Issue #455
The next release of PyObjC will give a nicer error message when the wheel package is not installed. |
I suspect this isn't working as intended. On a Mac with macOS 12.2.1 and Xcode 13.2.1 |
That's annoying. The code in That code uses I might push out 8.4.1 tonight or tomorrow to fix this, but need to test that my fix actually works before I do so. [1]: Although using the Python API, not the command-line tool. |
Ah! We finally got decent version numbers for macOS in 11.x, but then they went and messed up the darwin version in 12.0.1. Can't win 😞 Thank you! |
This was fixed in 8.4.1. |
I'm trying to install pyobjc==8.4 and the
pyobjc-framework-ScreenCaptureKit
module fails to build with witherror: option --single-version-externally-managed not recognized
. I'm testing here with python 3.8.9 from Xcode 13.2.1 since that's what happens to be installed, but I'm getting the same error with 3.9.10 and 3.10.2 from python.org.7.3, 8.0 and 8.2 install just fine. 8.3 fails on
Modules/objc/test/objectint.m
, but that seems to be fixed in 8.4.The text was updated successfully, but these errors were encountered: