[MacPorts] #57880: Loading scipy.interpolate gives a library error
MacPorts
noreply at macports.org
Wed Jan 9 18:19:53 UTC 2019
#57880: Loading scipy.interpolate gives a library error
-------------------------+-----------------------------------
Reporter: ATL-Flaneur | Owner: seanfarley, michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Keywords: SciPy | Port: py37-scipy
-------------------------+-----------------------------------
I'm on MacOS 10.14.2 (18C54) and after first running into this problem did
a complete removal of MacPorts, system reboot, reinstall of MacPorts base,
and Python reinstall with:
`sudo port instal py37-ipython py37-scipy py37-matplotlib py37-pip`
Then:
{{{
ayank$ ipython3
Python 3.7.2 (default, Dec 30 2018, 08:55:50)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.5.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import scipy.interpolate
---------------------------------------------------------------------------
ImportError Traceback (most recent call
last)
<ipython-input-1-011427aca649> in <module>()
----> 1 import scipy.interpolate
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/scipy/interpolate/__init__.py in <module>()
173 from __future__ import division, print_function, absolute_import
174
--> 175 from .interpolate import *
176 from .fitpack import *
177
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/scipy/interpolate/interpolate.py in <module>()
18 dot, ravel, poly1d, asarray, intp)
19
---> 20 import scipy.linalg
21 import scipy.special as spec
22 from scipy.special import comb
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/scipy/linalg/__init__.py in <module>()
205 from ._solvers import *
206 from ._procrustes import *
--> 207 from ._decomp_update import *
208 from ._sketches import *
209
_decomp_update.pyx in init scipy.linalg._decomp_update()
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/scipy/linalg/cython_lapack.cpython-37m-darwin.so, 2):
Symbol not found: _cbbcsd_
Referenced from:
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/scipy/linalg/cython_lapack.cpython-37m-darwin.so
Expected in: flat namespace
in
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/scipy/linalg/cython_lapack.cpython-37m-darwin.so
}}}
This Stack Overflow posts seems relevant:
https://stackoverflow.com/questions/35006614/what-does-symbol-not-found-
expected-in-flat-namespace-actually-mean
--
Ticket URL: <https://trac.macports.org/ticket/57880>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list