[MacPorts] #57838: Problem with scipy and associated ports (dependent libraries etc. ) missing symbols causes error, LAPACK problem?

MacPorts noreply at macports.org
Tue Jan 1 16:19:30 UTC 2019


#57838: Problem with scipy and associated ports (dependent libraries etc. )
missing symbols causes error, LAPACK problem?
-------------------------+-------------------------------
  Reporter:  NeilBowles  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.5.4
Resolution:              |   Keywords:  scipy LAPACK py37
      Port:              |
-------------------------+-------------------------------
Description changed by NeilBowles:

Old description:

> Hi
>
> I suspect this is to do with the recent scipy 1.2 build and LAPACK issue
> reported by others.  When trying to import pretty much any function from
> scipy (in this case "integrate" but fails on everything else I've tried)
> import fails due to a missing symbol (_cbbcsd_).  I suspect this breaks
> everything that requires scipy so apologies in advance if there are
> additional tickets.
>
> trace back below:
>
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/spyder_kernels/customize/spydercustomize.py", line 668, in
> runfile
>     execfile(filename, namespace)
>
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/spyder_kernels/customize/spydercustomize.py", line 108, in
> execfile
>     exec(compile(f.read(), filename, 'exec'), namespace)
>
>   File "/Users/bowles/Google
> Drive/Code/python_stuff/ARIEL_planck_wavelength.py", line 15, in <module>
>     from scipy import integrate
>
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/scipy/integrate/__init__.py", line 89, in <module>
>     from .quadrature import *
>
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/scipy/integrate/quadrature.py", line 10, in <module>
>     from scipy.special import roots_legendre
>
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/scipy/special/__init__.py", line 643, in <module>
>     from .basic import *
>
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/scipy/special/basic.py", line 19, in <module>
>     from . import orthogonal
>
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/scipy/special/orthogonal.py", line 83, in <module>
>     from scipy import linalg
>
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/scipy/linalg/__init__.py", line 207, in <module>
>     from ._decomp_update import *
>
>   File "_decomp_update.pyx", line 1, 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

New description:

 Hi

 I suspect this is to do with the recent scipy 1.2 build and LAPACK issue
 reported by others.  When trying to import pretty much any function from
 scipy (in this case "integrate" but fails on everything else I've tried)
 import fails due to a missing symbol (_cbbcsd_).  I suspect this breaks
 everything that requires scipy so apologies in advance if there are
 additional tickets.

 trace back below:

   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/spyder_kernels/customize/spydercustomize.py", line 668, in
 runfile
     execfile(filename, namespace)

   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/spyder_kernels/customize/spydercustomize.py", line 108, in
 execfile
     exec(compile(f.read(), filename, 'exec'), namespace)

   File "ARIEL_planck_wavelength.py", line 15, in <module>
     from scipy import integrate

   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/scipy/integrate/__init__.py", line 89, in <module>
     from .quadrature import *

   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/scipy/integrate/quadrature.py", line 10, in <module>
     from scipy.special import roots_legendre

   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/scipy/special/__init__.py", line 643, in <module>
     from .basic import *

   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/scipy/special/basic.py", line 19, in <module>
     from . import orthogonal

   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/scipy/special/orthogonal.py", line 83, in <module>
     from scipy import linalg

   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/scipy/linalg/__init__.py", line 207, in <module>
     from ._decomp_update import *

   File "_decomp_update.pyx", line 1, 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

--

-- 
Ticket URL: <https://trac.macports.org/ticket/57838#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list