'import Quartz' to work on macOS 15 with MacPorts Python 3.12

Joshua Root jmr at macports.org
Fri Oct 18 23:52:16 UTC 2024


On 19/10/2024 10:26, Nils Breunese wrote:
> Joshua Root <jmr at macports.org> wrote:
> 
>> PyObjC consists of a number of python modules. Each has its own directory in site-packages: AVFoundation, AVKit, etc. through to WebKit.
> 
> In /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages I see several directories with names that start with pyobjc_framework_. I don't see any such directory with Quartz in its name. Should I? Is there such a directory on macOS 14 or older when py312-pyobjc is installed?

Yes. You can see the files installed on different platforms by clicking 
the Files links to the right of the Port Health indicators at 
<https://ports.macports.org/port/py312-pyobjc/details/>.

- Josh


More information about the macports-dev mailing list