<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I just committed a fix for this issue. It seems to have been caused by the parallel-build feature that was recently enabled by default in the python PG. Hopefully this will fix the problem for you too. To get the new version, please do:  “sudo port selfupdate ; sudo port upgrade outdated”.<div class=""><div class=""><br class=""></div><div class="">Best,</div><div class="">Renee</div></div><div class=""><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 13, 2020, at 8:33 AM, Renee Otten <<a href="mailto:reneeotten@macports.org" class="">reneeotten@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">hi Sean, <div class=""><br class=""></div><div class=""><br class=""></div><div class="">there is already a bug report about this (see: <a href="https://trac.macports.org/ticket/60074" class="">https://trac.macports.org/ticket/60074</a>) and I’m looking into it. From the comments there it seems to be related to the “cairo” backend, since Frank reports that using the +qt5 variant instead of +cairo “solves” the issue. If you haven’t removed version 3.1.2 yet you could try and to reactivate that one using “sudo port activate py36-matplotlib @3.1.3_0+cairo+webagg” and see if the problem disappears (that would tell us it’s something specific in the new matplotlib version).</div><div class=""><br class=""></div><div class="">I assume that you’re using Catalina? It seems to be specific to that macOS version as I cannot reproduce it on Mojave. I’ve looked on the internet as well and didn’t see anything coming up either… Since I haven’t updated yet to Catalina it’s a bit hard for me to troubleshoot this, so right now I am not sure whether it is an upstream issue or MacPorts specific. I’ll take a closer look today and will comment in the Trac ticket with my findings (if you have updates, for example whether the previous version of matplotlib works with all other ports up-to-date, please comment there as well).</div><div class=""><br class=""></div><div class="">Sorry for the trouble and hopefully we can figure this out soon!</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Feb 13, 2020, at 1:08 AM, Sean Lake <<a href="mailto:odysseus9672@gmail.com" class="">odysseus9672@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello all,<br class=""><br class="">I tried to search for the ImportError: "Symbol not found:<br class="">_MPL_matplotlib__contour_ARRAY_API" and couldn't find anything. Should<br class="">I make this a bug and submit it, or is this an upstream problem?<br class=""><br class="">Thanks,<br class="">Sean Lake<br class=""><br class="">On Tue, Feb 11, 2020 at 5:11 PM Sean Lake <<a href="mailto:odysseus9672@gmail.com" class="">odysseus9672@gmail.com</a>> wrote:<br class=""><blockquote type="cite" class=""><br class="">Hello all,<br class=""><br class="">I notice that a "port upgrade outdated" upgraded matplotlib. Now<br class="">importing matplotlib.axes fails. Is there a fix I can do on my end?<br class=""><br class="">Also, should I have cced the package's maintainer on this email?<br class=""><br class="">Thanks,<br class="">Sean Lake<br class=""><br class="">Program output:<br class="">Seans-Work-Macbook-Pro:~ sean$ python3.6<br class="">Python 3.6.10 (default, Dec 21 2019, 11:40:12)<br class="">[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)] on darwin<br class="">Type "help", "copyright", "credits" or "license" for more information.<br class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><blockquote type="cite" class="">import matplotlib.axes as mpax<br class=""></blockquote></blockquote></blockquote>Traceback (most recent call last):<br class="">  File "<stdin>", line 1, in <module><br class="">  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/axes/__init__.py",<br class="">line 1, in <module><br class="">    from ._subplots import *<br class="">  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/axes/_subplots.py",<br class="">line 5, in <module><br class="">    import matplotlib.artist as martist<br class="">  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/artist.py",<br class="">line 13, in <module><br class="">    from .path import Path<br class="">  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/path.py",<br class="">line 17, in <module><br class="">    from . import _path, cbook, rcParams<br class="">ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/_path.cpython-36m-darwin.so,<br class="">2): Symbol not found: _MPL_matplotlib__contour_ARRAY_API<br class="">  Referenced from:<br class="">/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/_path.cpython-36m-darwin.so<br class="">  Expected in: flat namespace<br class=""> in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/_path.cpython-36m-darwin.so<br class=""></blockquote></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></body></html>