py36-matplotlib @3.1.3 broken

Sean Lake odysseus9672 at gmail.com
Thu Feb 13 06:08:47 UTC 2020


Hello all,

I tried to search for the ImportError: "Symbol not found:
_MPL_matplotlib__contour_ARRAY_API" and couldn't find anything. Should
I make this a bug and submit it, or is this an upstream problem?

Thanks,
Sean Lake

On Tue, Feb 11, 2020 at 5:11 PM Sean Lake <odysseus9672 at gmail.com> wrote:
>
> Hello all,
>
> I notice that a "port upgrade outdated" upgraded matplotlib. Now
> importing matplotlib.axes fails. Is there a fix I can do on my end?
>
> Also, should I have cced the package's maintainer on this email?
>
> Thanks,
> Sean Lake
>
> Program output:
> Seans-Work-Macbook-Pro:~ sean$ python3.6
> Python 3.6.10 (default, Dec 21 2019, 11:40:12)
> [GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import matplotlib.axes as mpax
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/axes/__init__.py",
> line 1, in <module>
>     from ._subplots import *
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/axes/_subplots.py",
> line 5, in <module>
>     import matplotlib.artist as martist
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/artist.py",
> line 13, in <module>
>     from .path import Path
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/path.py",
> line 17, in <module>
>     from . import _path, cbook, rcParams
> ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/_path.cpython-36m-darwin.so,
> 2): Symbol not found: _MPL_matplotlib__contour_ARRAY_API
>   Referenced from:
> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/_path.cpython-36m-darwin.so
>   Expected in: flat namespace
>  in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/_path.cpython-36m-darwin.so


More information about the macports-users mailing list