[MacPorts] #63797: py39-aubio: fatal error: 'numpy/arrayobject.h' file not found

MacPorts noreply at macports.org
Fri Nov 5 16:17:13 UTC 2021


#63797: py39-aubio: fatal error: 'numpy/arrayobject.h' file not found
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  catap
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:  monterey
      Port:  py-aubio    |
-------------------------+----------------------

Comment (by catap):

 @ryandesign the root cause I feel that this issue:
 https://trac.macports.org/ticket/63814

 Inside `setup.py` is just ignores any error:
 {{{
 try:
     import numpy
     include_dirs += [numpy.get_include()]
 except ImportError:
     pass
 }}}
 from
 https://github.com/aubio/aubio/blob/d3325ba1d97167dc17307cd116000c46c7aba1ec/setup.py#L24-L28

 Seems that this isn't a bug or at lest not a bug on this port.

 Do you agree?

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


More information about the macports-tickets mailing list