pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52271: py-matplotlib 2.0.2 missing dependency functools32



>Number:         52271
>Category:       pkg
>Synopsis:       py-matplotlib 2.0.2 missing dependency functools32
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 03 17:40:00 +0000 2017
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date 2017.05.31.14.41.07
>Organization:
>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

I installed the py27-matplotlib-2.0.2 and py27-matplotlib-gtk-2.0.2
packages by building from source using a current pkgsrc tree on a freshly
installed NetBSD-current system.  When I try to import matplotlib.pyplot,
this happens:

  $ python2.7 -m matplotlib.pyplot
  Traceback (most recent call last):
    File "/usr/pkg/lib/python2.7/runpy.py", line 174, in _run_module_as_main
      "__main__", fname, loader, pkg_name)
    File "/usr/pkg/lib/python2.7/runpy.py", line 72, in _run_code
      exec code in run_globals
    File "/usr/pkg/lib/python2.7/site-packages/matplotlib/pyplot.py", line 29, in <module>
      import matplotlib.colorbar
    File "/usr/pkg/lib/python2.7/site-packages/matplotlib/colorbar.py", line 36, in <module>
      import matplotlib.contour as contour
    File "/usr/pkg/lib/python2.7/site-packages/matplotlib/contour.py", line 22, in <module>
      import matplotlib.font_manager as font_manager
    File "/usr/pkg/lib/python2.7/site-packages/matplotlib/font_manager.py", line 67, in <module>
      from functools32 import lru_cache
  ImportError: No module named functools32

>How-To-Repeat:

See above.

>Fix:



Home | Main Index | Thread Index | Old Index