Opened 2 hours ago

#71255 new defect

matplotlib 3.9.2_0 doesn't work on MacOS 10.13 (High Sierra)

Reported by: simonradford Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.4
Keywords: matplotlib, high sierra Cc:
Port: py312-matplotlib, py311-matplotlib,

Description

After a recent upgrade, matplotlib 3.9.2_0 doesn't work on MacOS 10.13 (High Sierra). There appears to be a missing symbol, "ZN3agg10curve3_div4initEdddddd". The same error occurs with both python 3.12 and 3.11.

There was no problem with the previous version of matplotlib (3.8.4_0). There is no problem on MacOS 15.0.1 (Sequoia).

To demonstrate the error, start python, then "import matplotlib.pyplot as plt".

% python Python 3.12.7 (main, Oct 5 2024, 00:30:04) [Clang 9.1.0 (clang-902.0.39.2)] on darwin Type "help", "copyright", "credits" or "license" for more information.

import matplotlib.pyplot as plt

Traceback (most recent call last):

File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/matplotlib/init.py", line 159, in <module>

from . import _api, _version, cbook, _docstring, rcsetup

File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/matplotlib/rcsetup.py", line 28, in <module>

from matplotlib.colors import Colormap, is_color_like

File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/matplotlib/colors.py", line 57, in <module>

from matplotlib import _api, _cm, cbook, scale

File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/matplotlib/scale.py", line 22, in <module>

from matplotlib.ticker import (

File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/matplotlib/ticker.py", line 144, in <module>

from matplotlib import transforms as mtransforms

File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/matplotlib/transforms.py", line 49, in <module>

from matplotlib._path import (

ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/matplotlib/_path.cpython-312-darwin.so, 2): Symbol not found: ZN3agg10curve3_div4initEdddddd

Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/matplotlib/_path.cpython-312-darwin.so Expected in: flat namespace

in /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/matplotlib/_path.cpython-312-darwin.so

Change History (0)

Note: See TracTickets for help on using tickets.