[MacPorts] #60074: py37-matplotlib @3.1.3_0+cairo+webagg: importing fails

MacPorts noreply at macports.org
Thu Feb 13 16:55:40 UTC 2020


#60074: py37-matplotlib @3.1.3_0+cairo+webagg: importing fails
----------------------------+------------------------
  Reporter:  ladavid        |      Owner:  reneeotten
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.6.2
Resolution:                 |   Keywords:  catalina
      Port:  py-matplotlib  |
----------------------------+------------------------

Comment (by someuser12):

 No success here under Mac OS 10.15.3 with `+qt5`:

 {{{
 % port location py37-matplotlib
 Port py37-matplotlib 3.1.3_0+qt5+webagg is installed as an image in:
 /opt/local/var/macports/software/py37-matplotlib/py37-matplotlib-3.1.3_0+qt5+webagg.darwin_19.x86_64.tbz2
 % python3.7
 Python 3.7.6 (default, Dec 22 2019, 01:09:06)
 [Clang 11.0.0 (clang-1100.0.33.12)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import matplotlib.pyplot
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/matplotlib/pyplot.py", line 32, in <module>
     import matplotlib.colorbar
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/matplotlib/colorbar.py", line 27, in <module>
     import matplotlib.artist as martist
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/matplotlib/artist.py", line 13, in <module>
     from .path import Path
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/matplotlib/path.py", line 17, in <module>
     from . import _path, cbook, rcParams
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/matplotlib/_path.cpython-37m-darwin.so, 2): Symbol not
 found: _MPL_matplotlib__image_ARRAY_API
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/matplotlib/_path.cpython-37m-darwin.so
   Expected in: flat namespace
  in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/matplotlib/_path.cpython-37m-darwin.so
 >>> ^D
 % sw_vers
 ProductName:    Mac OS X
 ProductVersion: 10.15.3
 BuildVersion:   19D76
 %
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60074#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list