Opened 2 hours ago

Last modified 2 hours ago

#71103 assigned defect

ModuleNotFoundError: No module named 'Quartz'

Reported by: breun (Nils Breunese) Owned by: danchr (Dan Villiom Podlaski Christiansen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py312-pyobjc

Description (last modified by breun (Nils Breunese))

According to https://pyobjc.readthedocs.io/en/latest/notes/quartz-vs-coregraphics.html PyObjC should provide for 'import Quartz'. However, with the python312 and py312-pyobjc ports installed on macOS 15.0.1 arm64, I get the following:

❯ port installed python312 py312-pyobjc
The following ports are currently installed:
  py312-pyobjc @10.1_0 (active)
  python312 @3.12.7_0+lto+optimizations (active)
❯ /opt/local/bin/python3.12
Python 3.12.7 (main, Oct  5 2024, 01:39:55) [Clang 16.0.0 (clang-1600.0.26.3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import Quartz
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'Quartz'

Change History (1)

comment:1 Changed 2 hours ago by breun (Nils Breunese)

Description: modified (diff)
Note: See TracTickets for help on using tickets.