[MacPorts] #37415: py27-numpy: cannot import numpy when built with atlas
MacPorts
noreply at macports.org
Mon May 6 11:33:21 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 beany_kelly@…):
I just went through and tried reinstalling the following with gcc46 [gcc46
@4.6.4_0] (gcc45 doesn't seem to be an option for atlas any more) and
python26 [python26 @2.6.8_0]:
atlas @3.10.1_5+gcc46
py26-numpy @1.7.1_0+atlas+gcc46
With all that in place, I'm still seeing the problem described at the
start of this ticket:
{{{
Traceback (most recent call last):
File "../../../python/fitStrainRate_IRS.py", line 1, in <module>
import numpy as np
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/numpy/__init__.py", line 137, in <module>
import add_newdocs
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/numpy/add_newdocs.py", line 9, in <module>
from numpy.lib import add_newdoc
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/numpy/lib/__init__.py", line 13, in <module>
from polynomial import *
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/numpy/lib/polynomial.py", line 17, in <module>
from numpy.linalg import eigvals, lstsq, inv
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/numpy/linalg/__init__.py", line 48, in <module>
from linalg import *
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/numpy/linalg/linalg.py", line 23, in <module>
from numpy.linalg import lapack_lite
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/numpy/linalg/lapack_lite.so, 2): Symbol not found:
_omp_get_num_threads
Referenced from:
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/numpy/linalg/lapack_lite.so
Expected in: flat namespace
in
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/numpy/linalg/lapack_lite.so
}}}
So it seems that moving everything back from gcc47 to gcc46 doesn't fix
the problem, at least for me.
--
Ticket URL: <https://trac.macports.org/ticket/37415#comment:37>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list