[MacPorts] #61490: py38-matplotlib: RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend.

MacPorts noreply at macports.org
Mon Nov 16 20:07:32 UTC 2020


#61490: py38-matplotlib: RuntimeError: Polyfit sanity test emitted a warning, most
likely due to using a buggy Accelerate backend.
-----------------------+--------------------
  Reporter:  mf2k      |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  py-numpy  |
-----------------------+--------------------
Changes (by mf2k):

 * port:  py-numpy py-matplotlib => py-numpy


Comment:

 I believe the issue is directly in py-numpy. Although it is intermittent
 for me.

 {{{
 $ ipython
 Python 3.8.6 (default, Oct  6 2020, 17:43:36)
 Type 'copyright', 'credits' or 'license' for more information
 IPython 7.19.0 -- An enhanced Interactive Python. Type '?' for help.

 In [1]: import numpy

 In [2]: exit

 $ ipython
 Python 3.8.6 (default, Oct  6 2020, 17:43:36)
 Type 'copyright', 'credits' or 'license' for more information
 IPython 7.19.0 -- An enhanced Interactive Python. Type '?' for help.

 In [1]: import numpy
 Python(1551,0x10f953e00) malloc: can't allocate region
 :*** mach_vm_map(size=18446744066756825088, flags: 100) failed (error
 code=3)
 Python(1551,0x10f953e00) malloc: *** set a breakpoint in
 malloc_error_break to debug
 init_dgelsd failed init
 ---------------------------------------------------------------------------
 RuntimeError                              Traceback (most recent call
 last)
 <ipython-input-1-d4cdadb62aa7> in <module>
 ----> 1 import numpy

 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/numpy/__init__.py in <module>
     284                     "that provided NumPy.\n{}\n".format(
     285                         error_message))
 --> 286                 raise RuntimeError(msg)
     287     del _mac_os_check
     288

 RuntimeError: Polyfit sanity test emitted a warning, most likely due to
 using a buggy Accelerate backend. If you compiled yourself, see
 site.cfg.example for information. Otherwise report this to the vendor that
 provided NumPy.
 RankWarning: Polyfit may be poorly conditioned
 }}}

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


More information about the macports-tickets mailing list