Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#57838 closed defect (duplicate)

Problem with scipy and associated ports (dependent libraries etc. ) missing symbols causes error, LAPACK problem?

Reported by: NeilBowles Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: py-scipy

Description (last modified by mf2k (Frank Schima))

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

Change History (5)

comment:1 Changed 5 years ago by NeilBowles

Description: modified (diff)

comment:2 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Resolution: duplicate
Status: newclosed

The error appears to be the same as #57829. Please tell me if not - I'll reopen this ticket.

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Keywords: scipy LAPACK py37 removed

comment:4 Changed 5 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: py-scipy added

comment:5 Changed 5 years ago by michaelld (Michael Dickens)

Yes this ticket looks the same as #57829, which I (hopefully) just fixed.

Note: See TracTickets for help on using tickets.