[MacPorts] #37415: py27-numpy: cannot import numpy when built with atlas

MacPorts noreply at macports.org
Fri Apr 12 06:55:10 PDT 2013


#37415: py27-numpy: cannot import numpy when built with atlas
--------------------------------+-------------------
  Reporter:  macsforever2000@…  |      Owner:  dh@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.1.2
Resolution:                     |   Keywords:
      Port:  py-numpy           |
--------------------------------+-------------------

Comment (by michaelld@…):

 I think the latest atlas should work for most folks so long as you're not
 building atlas +universal. I think the following will work:
 {{{
 sudo port -f uninstall atlas pyXY-numpy
 sudo port selfupdate
 sudo port install atlas +variants
 sudo port install pyXY-numpy +atlas +variants
 }}}
 but replace "XY" by the correct python version, and "+variants" by your
 chosen variants (e.g., "+gcc47"). I'm pretty sure you need to start by
 reinstalling atlas, then numpy, in that order. And, that you need to
 uninstall them first.  Anyway, this is worth a try, since in my testing
 the latest atlas builds natively correctly, linking with -lgomp so that
 the _omp_* symbols will be defined in the resulting atlas libraries.

-- 
Ticket URL: <https://trac.macports.org/ticket/37415#comment:28>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list