[MacPorts] #71103: ModuleNotFoundError: No module named 'Quartz'
MacPorts
noreply at macports.org
Tue Oct 15 15:55:18 UTC 2024
#71103: ModuleNotFoundError: No module named 'Quartz'
---------------------------+----------------------
Reporter: breun | Owner: danchr
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: py312-pyobjc |
---------------------------+----------------------
Description changed by breun:
Old description:
> 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'
> }}}
New description:
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'
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/71103#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list