[MacPorts] #71103: ModuleNotFoundError: No module named 'Quartz'

MacPorts noreply at macports.org
Tue Oct 15 15:52:43 UTC 2024


#71103: ModuleNotFoundError: No module named 'Quartz'
--------------------+--------------------------
 Reporter:  breun   |      Owner:  danchr
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  py312-pyobjc
--------------------+--------------------------
 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:

 {{{
 ❯ /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'
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71103>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list