[MacPorts] #34657: py27-scipy +atlas builds correctly but crashes on importing interpolate module
MacPorts
noreply at macports.org
Mon May 28 13:45:40 PDT 2012
#34657: py27-scipy +atlas builds correctly but crashes on importing interpolate
module
------------------------------+---------------------------------------------
Reporter: ith140@… | Owner: ram@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: | Port: py27-scipy
------------------------------+---------------------------------------------
Changes (by ryandesign@…):
* cc: ith140@… (removed)
* owner: macports-tickets@… => ram@…
Old description:
> py27-scipy +atlas builds correctly, but crashes upon importing
> interpolate as shown in the ipython session below.
>
> Python 2.7.3 (default, Apr 13 2012, 08:56:00)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 0.12 -- An enhanced Interactive Python.
> ? -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help -> Python's own help system.
> object? -> Details about 'object', use 'object??' for extra details.
>
> In [1]: from scipy import interpolate
> ---------------------------------------------------------------------------
> ImportError Traceback (most recent call
> last)
> /Users/ianhoffman/<ipython-input-1-e8ca003dcbfa> in <module>()
> ----> 1 from scipy import interpolate
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/scipy/interpolate/__init__.py in <module>()
> 150 from fitpack2 import *
> 151
> --> 152 from rbf import Rbf
> 153
> 154 from polyint import *
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/scipy/interpolate/rbf.py in <module>()
> 47 from numpy import (sqrt, log, asarray, newaxis, all, dot, exp,
> eye,
> 48 float_)
> ---> 49 from scipy import linalg
> 50
> 51 __all__ = ['Rbf']
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/scipy/linalg/__init__.py in <module>()
> 113 from linalg_version import linalg_version as __version__
> 114
> --> 115 from misc import *
> 116 from basic import *
> 117 from decomp import *
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/scipy/linalg/misc.py in <module>()
> 1 import numpy as np
> 2 from numpy.linalg import LinAlgError
> ----> 3 import fblas
> 4
> 5 __all__ = ['LinAlgError', 'norm']
>
> ImportError:
> dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/scipy/linalg/fblas.so, 2): Symbol not found:
> __gfortran_transfer_character_write
> Referenced from:
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/scipy/linalg/fblas.so
> Expected in: flat namespace
> in
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/scipy/linalg/fblas.so
New description:
py27-scipy +atlas builds correctly, but crashes upon importing interpolate
as shown in the ipython session below.
{{{
Python 2.7.3 (default, Apr 13 2012, 08:56:00)
Type "copyright", "credits" or "license" for more information.
IPython 0.12 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: from scipy import interpolate
---------------------------------------------------------------------------
ImportError Traceback (most recent call
last)
/Users/ianhoffman/<ipython-input-1-e8ca003dcbfa> in <module>()
----> 1 from scipy import interpolate
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/interpolate/__init__.py in <module>()
150 from fitpack2 import *
151
--> 152 from rbf import Rbf
153
154 from polyint import *
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/interpolate/rbf.py in <module>()
47 from numpy import (sqrt, log, asarray, newaxis, all, dot, exp,
eye,
48 float_)
---> 49 from scipy import linalg
50
51 __all__ = ['Rbf']
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/linalg/__init__.py in <module>()
113 from linalg_version import linalg_version as __version__
114
--> 115 from misc import *
116 from basic import *
117 from decomp import *
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/linalg/misc.py in <module>()
1 import numpy as np
2 from numpy.linalg import LinAlgError
----> 3 import fblas
4
5 __all__ = ['LinAlgError', 'norm']
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/linalg/fblas.so, 2): Symbol not found:
__gfortran_transfer_character_write
Referenced from:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/linalg/fblas.so
Expected in: flat namespace
in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/scipy/linalg/fblas.so
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/34657#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list