[MacPorts] #50597: py27-scipy+atlas does not import properly
MacPorts
noreply at macports.org
Wed Feb 10 21:57:21 PST 2016
#50597: py27-scipy+atlas does not import properly
-----------------------+--------------------------------
Reporter: smithsp@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: py27-scipy
-----------------------+--------------------------------
After installing py27-scipy+atlas, scipy.interpolate will not import
correctly. Here are steps I took and the output
{{{
~/OMFIT-source2 117 : sudo port install py27-scipy +atlas
---> Computing dependencies for py27-scipy
---> Deactivating py27-scipy @0.16.1_0+gfortran
---> Cleaning py27-scipy
---> Activating py27-scipy @0.16.1_0+atlas+gfortran
---> Cleaning py27-scipy
---> Scanning binaries for linking errors
---> No broken files found.
~/OMFIT-source2 118 : which python
/opt/local/bin/python
~/OMFIT-source2 119 : python -c 'import scipy.interpolate'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/interpolate/__init__.py", line 145, in <module>
from .interpolate import *
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/interpolate/interpolate.py", line 15, in <module>
import scipy.linalg
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/linalg/__init__.py", line 172, in <module>
from .misc import *
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/linalg/misc.py", line 6, in <module>
from .lapack import get_lapack_funcs
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/linalg/lapack.py", line 356, in <module>
from scipy.linalg import _flapack
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/linalg/_flapack.so, 2): Symbol not found: _cgegv_
Referenced from:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/linalg/_flapack.so
Expected in: flat namespace
in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/linalg/_flapack.so
~/OMFIT-source2 120 : sudo port selfupdate
---> Updating MacPorts base sources using rsync
MacPorts base version 2.3.4 installed,
MacPorts base version 2.3.4 downloaded.
---> Updating the ports tree
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you
should run
port upgrade outdated
~/OMFIT-source2 121 : port outdated | grep scipy
~/OMFIT-source2 122 :
}}}
Note that atlas took a long time to build, during which I closed my laptop
twice, which induced the computer sleep state. The next step I plan on
taking is rebuilding atlas, but will not try that until tomorrow. If
there are any pointers for anything else to try, I would appreciate it.
--
Ticket URL: <https://trac.macports.org/ticket/50597>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list